Webpack的使用(三)(html-webpack-plugin、webpack-dev-server、vue-loader 、CommonsChunkPlugin)

Webpack的使用(三) 1、html-webpack-plugin插件的使用 一、在cmd中輸入npm i html-webpack-plugin --save-dev下載開發依賴。該插件的做用是,能夠根據某一個模板頁(html)去生成一個新的html到相應的文件夾中去。css 二、新建一個src文件夾,將index.html、entry.js放入其中,並在webpack.config.js進
相關文章
相關標籤/搜索