Skip to content

[NUXT] Missing Styles in Nuxt 3 + PandaCSS Static Builds #2863

Answered by marvinbernd
marvinbernd asked this question in Q&A
Discussion options

You must be logged in to vote

I found the solution to the issue. The problem was caused by the inclusion of the @nuxt/fonts module, which adds styles to the index.html output. The same issue occurred when I removed the module and added a stylesheet through the css property in the Nuxt config.

I was only able to resolve it by moving the @font-face rules directly into the global.css stylesheet.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@marvinbernd
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by segunadebayo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants