Hi guys, Prebuilt ui css not imported in my vite r...
# support-questions
g
Hi guys, Prebuilt ui css not imported in my vite react project ?
r
Hey
Can I see a screenshot of what you are seeing?
And are you also using emotion as a dependency in your project?
g
"@emotion/react": "^11.10.5",
r
Right. You need to use the same version of emotion as we use for our SDK
^11.4.1
g
okey, let me try
Same,
But build version worked,
Css worked
Dev environment not imported css
r
Check cache. Build again. Delete node_modules and reinstall
g
Yeah i did 😅
Sorry for bad english
r
Hmm. I’m not sure why the built version would work but the dev won’t. That’s odd
Anyway, we are about to release a version of the lib that doesn’t depend on emotion. This will be out today or tomorrow
So you want wait for that
And the css will work
g
Okey, thank u for your support
2 Views