Open Simon-Bertram opened 1 month ago
Following the Astro getting started guide fails to create the src/styles/global.css file. I can create it manually, but what consequences flow from that? It will probably contain:
@tailwind base; @tailwind components; @tailwind utilities;
but who am I to say that when the instructions say it will be created already?
Astro project setup
Follow the instructions at https://ui.shadcn.com/docs/installation/astro. I'm using Mac terminal and npm.
No response
Error An error occurred. Cannot find module '@/styles/globals.css' imported from '/Users/.../Documents/Web Dev/Tutorials/astro-shadcn/src/pages/index.astro'
Sonoma 14.5
Where is your global CSS file? › › ./src/styles/globals.css
Describe the bug
Following the Astro getting started guide fails to create the src/styles/global.css file. I can create it manually, but what consequences flow from that? It will probably contain:
@tailwind base; @tailwind components; @tailwind utilities;
but who am I to say that when the instructions say it will be created already?
Affected component/components
Astro project setup
How to reproduce
Follow the instructions at https://ui.shadcn.com/docs/installation/astro. I'm using Mac terminal and npm.
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting