我们需要先安装插件:
npm i webpack-dev-server -D
然后修改 package.json 文件:
"scripts": { "dev": "webpack serve" },
标签:npm,插件,package,serve,dev,webpack,作用 From: https://www.cnblogs.com/z5337/p/16758930.html
我们需要先安装插件:
npm i webpack-dev-server -D
然后修改 package.json 文件:
"scripts": { "dev": "webpack serve" },
标签:npm,插件,package,serve,dev,webpack,作用 From: https://www.cnblogs.com/z5337/p/16758930.html