Open heyfadii opened 4 years ago
I am also receiving the same error. How can I resolve it?
Updated App.js
Replaced:
<% css.map(c=>
import '${relativeToBuild(resolvePath(c.src || c))}') %>
With:
<%
for (let i=0;i<css.length;i++){
%>
import '<%= relativeToBuild(resolvePath(css[i].src || css[i])) %>';
<%
}
%>
And now it works.
Hi @fabu-gharbieh @anilwarbhe I think this issue has solved and merged
@pi0 please help to close this issue. Thanks
When adding more than one CSS file to the nuxt.config.js file, building fails. A single css file works fine. I used the nuxt7 starter and my config file looks like this:
Building fails and I get this message: