Open 543877815 opened 5 years ago
https://543877815.github.io/2019/04/10/%E6%9E%84%E5%BB%BA%E8%87%AA%E5%B7%B1%E7%9A%84front-end-cli/#more
安装全局安装(不推荐)1npm install webpack webpack-cli -g 全局的话容易发生webpack3和webpack4的版本冲突 局部安装(推荐)12npm install webpack webpack-cli -D# npm install webpack webpack-cli --save-dev 查看版本1npx webpack -v 查看包版本1npm inf
https://543877815.github.io/2019/04/10/%E6%9E%84%E5%BB%BA%E8%87%AA%E5%B7%B1%E7%9A%84front-end-cli/#more
安装全局安装(不推荐)1npm install webpack webpack-cli -g 全局的话容易发生webpack3和webpack4的版本冲突 局部安装(推荐)12npm install webpack webpack-cli -D# npm install webpack webpack-cli --save-dev 查看版本1npx webpack -v 查看包版本1npm inf