> [email protected] dev F:\music\music
> node build/dev-server.js
> Starting dev server...
ERROR Failed to compile with 2 errors14:30:11
error in ./src/App.vue
Syntax Error: Unexpected token {
@ ./src/main.js 4:0-24
@ multi ./build/dev-client ./src/main.js
error in ./src/components/HelloWorld.vue
Syntax Error: Unexpected token {
@ ./src/router/index.js 3:0-49
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js
> Listening at http://localhost:8080
安装"vue-loader": "11.1.4",可解决
npm uninstall --save-dev vue-loader //删除vue-loader
npm install --save-dev [email protected] //安装vue-loader
时间: 2024-11-05 22:45:48