webpack的基本使用

webpack是一個流行的前端項目構建工具(打包工具) 執行步驟:css 1.npm init -y 項目初始html 2.項目終端:npm install webpack webpack-cli -D 安裝webpack前端 3.在項目根目錄中建立名爲webpack.config.js的webpack配置文件vue 4.webpack.config.js -> module.exports =
相關文章
相關標籤/搜索