運行之后出現(xiàn) 'demo1' is not defined no-undef
Failed to compile with 1 errors? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 12:58:55 PM
?error? in ./demo1.vue
Module Error (from C:/Users/Administrator/AppData/Roaming/npm/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js):
? 9:10? error? 'demo1' is not defined? no-undef
2019-10-28
檢查一下自己運行命令的,是不是代碼的目錄。
下次提問,可以提供包括且不限于:
1. webpack版本,vue版本,node版本,npm版本。
2. webpack配置;
3. package.json
4. 本課程中的哪個實例操作出如上的錯誤,操作的流程是什么?!
5. 代碼截圖,console錯誤截圖,終端錯誤截圖。
分享自己解決問題的經(jīng)過,加強對問題的解決能力。
這樣才能更好的幫助到大家哦