I'm working on a project with Wagtail CMS (headless) as backend and Nuxt 3 as frontend.
Steps to reproduce: Right click on the page (local development and/or live), and click on "View Page Source".
The content of the whole tag is on one line. I would like to prevent that, so that the page source has a normal HTML structure (e.g. like GitHub).
I tried the following in my nuxt.config.ts file:
build: {
html: {
minify: {
collapseBooleanAttributes: false,
decodeEntities: false,
minifyCSS: false,
minifyJS: false,
processConditionalComments: false,
removeEmptyAttributes: false,
removeRedundantAttributes: false,
trimCustomFragments: false,
useShortDoctype: false,
},
},
},
But the page source is still on one line.