關於webpack的項目文件:https://gitee.com/codeFarmerPen/webpackcss
連接:http://www.runoob.com/nodejs/nodejs-install-setup.html(菜鳥教程的);html
Node.js安裝包及源碼下載地址爲:https://nodejs.org/en/download/。windows系統選尾綴爲.msi
的 ,Mac OS X系統選擇.pkg
。 node
打開cmd,輸入:webpack
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
就可使用cnpm了,淘寶 NPM 鏡像地址:https://npm.taobao.org/。git
剩下的能夠建議看菜鳥教程文章:https://www.runoob.com/w3cnote/webpack-tutorial.html(入門篇)web
webpack配置(第一步:配置前提):http://www.javashuo.com/article/p-zhierewo-eo.htmlnpm
webpack配置(第二步:入門篇):http://www.javashuo.com/article/p-zgertkmc-mq.htmlwindows
webpack配置(第三步:ES6篇):http://www.javashuo.com/article/p-yornwkpw-dt.htmlless
webpack配置(第四步:html篇(基礎篇)):http://www.javashuo.com/article/p-ykguohhe-do.htmlurl
webpack配置(第四步:html篇(進階篇)):http://www.javashuo.com/article/p-nqgmvdah-hz.html
webpack配置(第四步:html篇(模板篇)):http://www.javashuo.com/article/p-cfrvmuzd-ea.html
webpack配置(第五步:less/css篇(基礎篇)):http://www.javashuo.com/article/p-ftegbnmw-p.html
webpack配置(第五步:less/css篇(進階篇)):http://www.javashuo.com/article/p-bkdzfetz-mx.html
webpack配置(第五步:less/css篇(url圖片篇)):http://www.javashuo.com/article/p-adtmrppc-mq.html