Skip to content

Commit 397d144

Browse files
committed
fix: [#352] WARN Using postcss.config.js is not supported together with Nuxt. Use options.postcss
It fixes this build warning: ``` WARN Using postcss.config.js is not supported together with Nuxt. Use options.postcss instead. You can read more in https://nuxt.com/docs/api/configuration/nuxt-config#postcss. ```
1 parent 0413a1a commit 397d144

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

nuxt.config.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ export default defineNuxtConfig({
4141

4242
devtools: {
4343
enabled: true
44-
}
44+
},
4545

46+
postcss: {
47+
plugins: {
48+
"tailwindcss/nesting": {},
49+
tailwindcss: {},
50+
autoprefixer: {}
51+
}
52+
}
4653
});

postcss.config.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)