在Visual Studio Code 运行

webpack ./src/main.js --output-filename ./dist/bundle.js --output-path . --mode development

提示  Module no t found:Error:Can't resolve' 'jquery'

是因为Visual Studio Code还没安装jquery 

在项目目录运行

cnpm i jquery

安装jquery就可以了

相关文章:

  • 2021-06-27
  • 2021-04-05
  • 2021-08-17
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
  • 2022-12-23
猜你喜欢
  • 2021-12-17
  • 2021-04-23
  • 2022-02-03
  • 2021-07-16
  • 2021-12-07
  • 2021-10-25
  • 2022-12-23
相关资源
相似解决方案