最贊回答 / JAVAZeng
"為什么我下載的html-webpack-plugin在html模板中不能<%= htmlwebpackplugin.options.title="">打印"你這個(gè)寫(xiě)錯(cuò)了,后面沒(méi)有那個(gè)等號(hào),正確應(yīng)該這樣寫(xiě): ?<%= htmlwebpackplugin.options.title %>
已采納回答 / 時(shí)間煮雨5
你的plugins里chunks少了main
講師回答 / qbaty
應(yīng)該是index.html中的錯(cuò)誤
講師回答 / qbaty
對(duì)的,是entry 的路徑問(wèn)題
最贊回答 / jghkjkl_123
webpack hello.js hello.bundle.js --module-bind "css=style-loader!css-loader" ? ?把單引號(hào)改成雙引號(hào) 就可以?
2017-02-17
已采納回答 / 小王子抓貓咪
webpack2.0 在loader 這里建議你不要省略 -loader另外在webpack2.0中建議使用<...code...>
講師回答 / qbaty
是不是你得路徑設(shè)置的不對(duì)啊