ERROR in ./~/.1.3.0@vue-easytable/libs/v-table/src/table.vue
Module parse failed: /Users/oak-016/localgit/beidou/frontv2/node_modules/.1.3.0@vue-easytable/libs/v-table/src/table.vue Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
|
|
ERROR in ./~/.1.3.0@vue-easytable/libs/v-table/src/table.vue Module parse failed: /Users/oak-016/localgit/beidou/frontv2/node_modules/.1.3.0@vue-easytable/libs/v-table/src/table.vue Unexpected token (1:0) You may need an appropriate loader to handle this file type. | |
在table.vue, page.vue,select.vue中都有这个错误。 webpack打包的时候报的错
感谢反馈,下午我看下
首先保证是通过npm 安装。
从这个错误提示,应该是没有识别 .vue 文件的loader,你其他的vue文件可以正常编译吗?
我自己安装了下,可以正常编译。应该是缺少
vue-loader
。如果你是使用的 webpack,配置信息可以参考 vue-easytable 实例中的 webpack 配置文件: https://github.com/huangshuwei/vue-easytable/blob/master/webpack.config.js
问题解决了没,先关了,有问题再反馈