Open Raghava-Ch opened 2 months ago
Have you setup tailwindcss ?
Have you setup tailwindcss ?
Yes, Styles are working as expected when run with dev
or start
. Problem with only standalone build.
Have you added your .npmrc on the build phase ?
The 'standalone' build doesn't copy the .next/static folder by default. Try copying it to .next/standalone/.next and see if it works.
NextUI Version
2.**
Describe the bug
In simple terms the project just created using
nextui init my_app
built in standalone mode, bun .next/standalone/server.js - no styles applied. bun run start - working as expected.Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
nextui init my_app
output: 'standalone'
bun run build
bun .next/standalone/server.js
Expected behavior
tailwind styles should show up in the web page built in standalone mode.
Screenshots or Videos
No response
Operating System Version
macOS Sonoma 14.5 - intel silicon
Browser
Safari