随笔分类 - Vue
vuejs
摘要:使用weexpack构建weex应用时,npm run serve一直报这个错误 UglifyJs报错解决方案: 1. 在 webpack.config.js 的同目录下创建文件 .babelrc,内容如下 { "presets": ["es2015"] } 2. 如果上面的方法也不行,那就不使用U
阅读全文
摘要:ERROR in Vue packages version mismatch: vue@2.1.4 vue template compiler@2.1.5 This may cause things to work incorrectly. Make sure to use the same ver
阅读全文