39:1 Unable to resolve signature of class decorator when called as an expression. Type '<VC extends VueClass<Vue>>(target: VC) => VC' is missing the following properties from type 'typeof HelloWorld': extend, nextTick, set, delete, and 7 mo…
typescript报错集锦 错误:Import sources within a group must be alphabetized.tslint(ordered-imports) 原因:import名称排序问题,要求按照字母从小到大排序: 解决方案:修改 tslint.json 中 rules 的规则 "ordered-imports" 为 false 即可. "rules": { "ordered-imports": false } vs…
如果本地运行多个vue+webpack项目会报错:listen EADDRINUSE: address already in use :::8080: 提示含义:地址端口已经被占用 注:8080指的是前一个项目的地址端口,但后一个项目默认也会用这个,所以就会冲突报错: 解决方式: 1.关掉前一个项目的浏览器界面,再关掉前一个项目的编辑器环境,重新输入npm run dev即可: 2.如果上一个方法无效,说明端口还在后台运行,可以考虑命令强关,避免端口冲突,相关操作 a. window + R调出…