-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Description
The web version (web/vite.config.ts) is missing the @tailwindcss/vite plugin, causing CSS to not load at all. The page renders without any styles, appearing as a blank white page.
Steps to Reproduce
- Clone the repository
- Run
make setup - Run
bun run dev:web - Open http://localhost:5173 in browser
- Observe: No CSS is applied, UI appears broken/white
Affected Browsers
- Chrome (tested)
- Safari (tested)
Expected Behavior
CSS should load correctly, matching the Tauri desktop version.
Root Cause
tauri/vite.config.ts includes the Tailwind plugin:
import tailwindcss from '@tailwindcss/vite';
// ...
plugins: [react(), tailwindcss()],But web/vite.config.ts is missing it:
plugins: [react()], // Missing tailwindcss()Proposed Fix
Add @tailwindcss/vite to web/vite.config.ts and install the dependency.
Environment
- macOS (Apple Silicon)
- Tailwind CSS v4
- Vite v5.4.21
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels