I made a basic Nuxt 3 app with npx nuxi@latest init
I installed sass, and @fullhuman/postcss-purgecss as devDependencies. Then I configured my nuxt.config.ts like so
And I have a single unused class selector in my application.scss file
.pomme {
color: green;
}
And yet both appear in my source files when I inspec my local host.
I tried installed and adding ["nuxt-purgecss", { enabled: true }] to my nuxt config modules too, same result.
I don't understand how I'm supposed to set this up
I made a basic Nuxt 3 app with npx nuxi@latest init
I installed
sass
, and@fullhuman/postcss-purgecss
as devDependencies. Then I configured mynuxt.config.ts
like soI have a single
pages/index.vue
file with a unused class selectorAnd I have a single unused class selector in my
application.scss
fileAnd yet both appear in my source files when I inspec my local host.
I tried installed and adding
["nuxt-purgecss", { enabled: true }]
to my nuxt config modules too, same result. I don't understand how I'm supposed to set this up