为了账号安全,请及时绑定邮箱和手机立即绑定

报错@vue/compiler-sfc

 ./src/index.js + 1 modules 224 KiB [built] [code generated]

  ./src/app.vue 39 bytes [not cacheable] [built] [code generated] [1 error]


WARNING in configuration

The 'mode' option has not been set, webpack will fallback to 'production' for this value.

Set 'mode' option to 'development' or 'production' to enable defaults for each environment.

You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/


ERROR in ./src/app.vue

Module build failed (from ./node_modules/vue-loader/dist/index.js):      

Error: vue-loader requires @vue/compiler-sfc to be present in the dependency tree.

    at Object.<anonymous> (D:\WebKU\VuehomeKU\Vue_loaderText\node_modules\vue-loader\dist\index.js:8:11)


正在回答

1 回答

npm install vue-loader

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

报错@vue/compiler-sfc

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信