Back to Zenii Support

office18072
office18072

Hi! what would be the best approach to use this new JIT feature from newest tailwindcss release with this theme? Thank you! Emil

office18072
office18072

in theme folder just did:
npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9

and in tailwind.config.js added:
module.exports = { mode: 'jit', ... }

when running npm run watch
it seems to work everything ..

Last updated

1-2 of 2