Answer the question
In order to leave comments, you need to log in
How to keep quotes around attributes in vue-cli-service build?
I am using vuecli . Created a project, everything by default, saved, made build
.
In the final index.html
result of minification, quotes around all attributes were removed, incl. Script URLs.
How to return them? It seems that the html-loader option
is responsible for this . For more information about these options, see the html-minifier documentation .
How can I add this option to my config? Create a file - I'm stuck here, I don't understand how to register it. There are no mentions of "html-loader" and "html-minfier" in the dump. removeAttributeQuotes
vue.config.js
vue inspect
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question