openks
openks
+1 ``` npm ERR! Maximum call stack size exceeded npm ERR! A complete log of this run can be found in: npm ERR! /Users/zyx/.npm/_logs/2017-07-18T12_31_53_059Z-debug.log ``` ``` 0 info it worked...
After I update node to V8.1.4 it works. maybe it is a bug in v8.1.2
 after update npm to `v6.1.0` nothing changed
> @openks I noticed although you said you upgraded npm, the installation is actually performed using Yarn. Have you tried: > > 1. Upgrade Yarn to the latest > 2....
> 可能是 host 配置问题? 前面几个菜单可以点击 后面菜单不能点击 跟host有关?
可以通过cdn方式引入,这样就会同时支持elementui和vant 另外需要配置 ```js // shime-tsx.d.ts 文件里增加自定义属性 declare global { interface Window { ELEMENT: any, vant:any, } } ``` ```js // 调用的时候 window.vant.Toast("hello") window.ELEMENT.Message("hello") ``` 这样至少解决了两个ui无法打包的问题
@yezongyang 这个是已经存在功能可能说明文档写的不是很清楚 看下这个是否符合你的要求 https://github.com/openks/learn-vue/issues/22
额,这个应该是我没理解你的意思 ,应该是可以被选中不能设置被选中
解决方案 使用自定义方法想带啥参数就带啥参数 `to`只适用于页面跳转 ```js ```
``` vue ``` 对,这种方式也可以 ```js computed: { href() { if (this.to && !this.added && this.$router) { const resolved = this.$router.match(this.to); if (!resolved.matched.length) return this.to; this.$nextTick(() => { this.added = true;...