Styles are missing, but only in production (build seems to succeed) #1246
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Make sure you're including the Rappasoft path in your Tailwind config! See the line in the content[] Without that, Tailwind won't include the relevant classes, you'll need to do the same for any other packages that include views that are not published!
|
Beta Was this translation helpful? Give feedback.
-
@lrljoe makes sense and it's indeed right in the docs, just didn't need it locally for some reason even when doing the same build? What would cause the difference between building locally or online? Btw: it's fixed, just trying to understand why this happens only in production. Is it an env setting for tailwind or vite? |
Beta Was this translation helpful? Give feedback.
Make sure you're including the Rappasoft path in your Tailwind config!
See the line in the content[]
Without that, Tailwind won't include the relevant classes, you'll need to do the same for any other packages that include views that are not published!