從零搭建一個簡單的webpack環境

1、npm Init 2、創建webpack.config.js文件,並配置入口和出口   3、Package.json的script中配置命令對應的操作   4、安裝webpack-dev-server 模塊npm install webpack-dev-server -g 5、需要安裝webpack 模塊npm install webpack -g 6、需要安裝webpack-cli 模塊,輸
相關文章
相關標籤/搜索