啟動單個組件的問題
啟動單個組件時遇到問題:
Module build failed (from ./node_modules/[email protected]@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\[email protected]@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創建項目,而是用webpack創建的項目,所以報錯