I am using tailwind css to apply styling to my react project but the issue I have is whenever I apply any css class, I have to kill my dev server and retart the dev server for the css changes to appear. I followed all the procedures to install tailwind css using npm. I need a solution to this problem so that the changes appear as I save it.
-
Do you add the paths to all of your template files in your tailwind.config.js file https://tailwindcss.com/docs/guides/create-react-appquanph– quanph2022-06-17 16:19:04 +00:00Commented Jun 17, 2022 at 16:19
-
@pylwalker Yes this is the tailwind.config.js module.exports = { content: [ "./src/**/*.{html, js}", ], theme: { extend: {}, }, plugins: [], }Skynet– Skynet2022-06-17 16:28:53 +00:00Commented Jun 17, 2022 at 16:28
Add a comment
|