I used the Supabase Authentication as a framework for a website I am developing. However I noticed it did not create a src file so I made one and moved the necessary files into it my tailwind stopped working. All I get is the html with no css
I have checked my tailwind.config.ts file and all the components are correct and my global. css is just
@tailwind base;
@tailwind components;
@tailwind utilities;`
Michael Owen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
If you are not getting any CSS at all (i.e. default serif font, <body>
with margins, etc), then consider checking the paths for including the global.css
. This could be a symptom of paths needing to be updated.
If you are getting minimal CSS (i.e, sans-serif font) but none of the previous styling that was there before the src
move, this could indicate your content
file globs in the Tailwind configuration no longer cover the markup files. You may need to prefix the globs with src/
to point to the src
folder.