Next.js Discord

Discord Forum

@tailwind error in `globals.css`

Answered
Cape lion posted this in #help-forum
Open in Discord
Cape lionOP
I created a next project (npm create-next-app) with tailwind, typescript and /app dir (without /src dir).

When visiting the globals.css file in the /app dir, the first three lines including @tailwind show the same error, which can be seen in the attached screenshot.

How do I fix this? No changes has been made to the project, it's just the create-next-app with the configuration above.
Answered by DirtyCajunRice | AppDir
this is not a bug. this is vscaca shitting the bed
View full answer

5 Replies