啟動單個(gè)組件的問題
啟動單個(gè)組件時(shí)遇到問題:
Module build failed (from ./node_modules/_vue-loader@13.7.3@vue-loader/index.js):
TypeError: Cannot read property 'vue' of undefined
? ? at Object.module.exports (F:\app\Node.js\node_global\my-project\node_modules\_vue-loader@13.7.3@vue-loader\lib\loader.js:61:18)
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
2019-10-29
找到原因了,沒用vue ui創(chuàng)建項(xiàng)目,而是用webpack創(chuàng)建的項(xiàng)目,所以報(bào)錯(cuò)