Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Problems using Tailwind JIT #9

Closed
OmkarK45 opened this issue Mar 28, 2021 · 2 comments
Closed

Problems using Tailwind JIT #9

OmkarK45 opened this issue Mar 28, 2021 · 2 comments

Comments

@OmkarK45
Copy link

Hi there, thank you for this boilerplate. However, when I replace contents of postcss.config.js to this // postcss.config.js module.exports = { plugins: { '@tailwindcss/jit': {}, autoprefixer: {}, } }

I have to restart webserver in order to load new changes in styles.
Please let me know what I'm doing wrong

@OmkarK45
Copy link
Author

Update on this:
So I was suggested not to use scss extension for index style file. That being paired with NODE_ENV=development has fixed the issue for me.
Closing this.

@stefanwuthrich
Copy link
Contributor

@OmkarK45 sorry for the late answer and thank you for posting the workaround.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants