Postcss with Nuxt 3.0.0
Katerinka28 opened this issue · comments
Ah, yes - we do not respect your `postcss.config.js` file - you need to set options directly in `nuxt.config`.
_Originally posted by @danielroe in nuxt/nuxt#15540
I`am used Nuxt3 rc 4 . Postcss i add with this options in nuxt.config.js
build: {
postcss: {
postcssOptions: require(resolve(__dirname, "postcss.config.js")),
},
After upgrade Nuxt to official release(3.0.0) postcss doesn`t work.
In docs build.postcss is absent.
Can you help me? Where is the right place to set postcss options in nuxt.config.js???
in the postcss
top-level config option. You can set config
and plugins
under it.