What do I have to do differently with craco ? I have enabled mode:"jit" in tailwind.config.js . How should I write the build script for that? Here is my current build script . What should I add?
hm! it seems to work fine for me, I just created a repository and using craco instead of react-scripts, you can try and see if it works for you. github.com/ako-v/cra-tailwindcss-j...
after building, serve the build folder using npm run servebuild and open http://localhost:3000 in your browser.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What do I have to do differently with craco ? I have enabled mode:"jit" in tailwind.config.js . How should I write the build script for that? Here is my current build script . What should I add?
dev-to-uploads.s3.amazonaws.com/up...
hm! it seems to work fine for me, I just created a repository and using
craco
instead of react-scripts, you can try and see if it works for you.github.com/ako-v/cra-tailwindcss-j...
after building, serve the build folder using
npm run servebuild
and openhttp://localhost:3000
in your browser.