import VeCharts from 've-charts'
Vue.use(VeCharts)
错误信息
ERROR Failed to compile with 1 errors 上午9:28:58
error in ./node_modules/ve-charts/lib/ve-charts.umd.min.js
Module parse failed: Unexpected token (8:48734)
You may need an appropriate loader to handle this file type.
| * license : MIT
| * http://adamwdraper.github.com/Numeral-js/
| */(function(i,o){n=o,a="function"===typeof n?n.call(t,r,t,e):n,void 0===a||(e.exports=a)})(0,(function(){var e,t,r="2.0.6",n={},a={},i={currentLocale:............
@ ./src/main.js 8:0-33
@ multi (webpack)-dev-server/client?http://localhost:9001 webpack/hot/dev-server ./src/main.js
在 main.js 中,引入后,npm run dev 报错
错误信息
因为对npm不太熟悉,不太清楚是什么问题