使用webpack打包时发生的错误
ERROR in multi ./src/js/main.js ./dist/bundle.js tDemo\First\myvue’
Module not found: Error:
原因
webpack3.0和4.0的差异
解决方法
webpack3使用webpack ./src/main.js ./dist/bundle.js
webpack4,webpack打包在01-webpack的起步目录下打开终端 webpack ./scr/main.js -o ./dist/bundle.js
链接: [link]https://github.com/zhangtianyi0110/VueLearnNotes/blob/master/15-webpack/15-webpack.md