nerv-webpack-boilerplate icon indicating copy to clipboard operation
nerv-webpack-boilerplate copied to clipboard

npm run deploy 样式报错

Open dericgit opened this issue 6 years ago • 2 comments

需要在 index.html 正确引用css <% cssFiles.forEach(cssFile => { %> <link href="<%= cssFile.path %>" rel="stylesheet"> <% }) %>

dericgit avatar Aug 02 '18 08:08 dericgit

需要在index.html 修改引入css的代码: <% for (var css in htmlWebpackPlugin.files.css) { %> <link href="<%= htmlWebpackPlugin.files.css[css].path %>" rel="stylesheet"> <% } %>

tangj1206 avatar Nov 03 '18 05:11 tangj1206

Ahh nice, thats going to help me :)

ChristianHoffmannYoma avatar Feb 17 '20 16:02 ChristianHoffmannYoma