How can I make @tailwindcss/jit
work?
#1585
Answered
by
fivethreeo
vojtaholik
asked this question in
Q&A
-
How can I make tailwind's new just-in-time compiler work with Razzle? Following doesn't seem to work: // postcss.config.js
module.exports = {
plugins: {
// tailwindcss: {}, // this works
'@tailwindcss/jit': {}, // this does not
autoprefixer: {},
'postcss-nested': {},
},
} |
Beta Was this translation helpful? Give feedback.
Answered by
fivethreeo
Mar 24, 2021
Replies: 2 comments
-
I suspect this only works with style loader and not with mini-css-extract loader/plugin or SSR. |
Beta Was this translation helpful? Give feedback.
0 replies
-
So use only spa mode and modify css rule to use only style loader and remove mini-css-extract plugin |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fivethreeo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So use only spa mode and modify css rule to use only style loader and remove mini-css-extract plugin