Vue components css styles not applied #1750
Unanswered
outofthisworld
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I think it's probably due to the tsconfig path alias, could use the "importMap": {
"css": "~/styled-system/css",
"recipes": "~/styled-system/recipes",
"patterns": "~/styled-system/patterns",
"jsx": "~/styled-system/jsx"
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I went through the recommended set up for a vue app (although I am using Nuxt, but given that panda is statically compiled I don't think that'd be an issue)
Inside a page, the
css()
function seems to work correctly, and applies styles.However, when I created a component inside the
components
folder:Although the
bg_blue
class gets generated and applied to the div - no class definition can be found in theapp.css
output.Any ideas? Tried regenerating styled-system, clearing .nuxt cache, hard reloading browser, clearing site app data and incognito. No luck.
Beta Was this translation helpful? Give feedback.
All reactions