vue运行报错 ./src/main.js in multi (webpack)-dev-server/client?...(霸霸看了都说好)
报错内容如下图:ERRORFailed to compile with 1 error9:49:18This relative module was not found:./src/m
·
报错内容如下图:
ERROR Failed to compile with 1 error 9:49:18
This relative module was not found:
./src/main.js in multi (webpack)-dev-server/client?http://localhost:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
这是vue.config下的webpack的路径错了
这里entry的正确路径是根据当前项目路径来写的,我这边的路径是:“examples/main.js”,不是"src/main.js"
更多推荐
所有评论(0)