https://supertokens.com/ logo
Title
g

galto4ir

01/19/2023, 8:57 AM
Hi guys, Prebuilt ui css not imported in my vite react project ?
r

rp

01/19/2023, 8:58 AM
Hey
Can I see a screenshot of what you are seeing?
And are you also using emotion as a dependency in your project?
g

galto4ir

01/19/2023, 9:00 AM
"@emotion/react": "^11.10.5",
r

rp

01/19/2023, 9:00 AM
Right. You need to use the same version of emotion as we use for our SDK
^11.4.1
g

galto4ir

01/19/2023, 9:00 AM
okey, let me try
Same,
But build version worked,
Css worked
Dev environment not imported css
r

rp

01/19/2023, 9:06 AM
Check cache. Build again. Delete node_modules and reinstall
g

galto4ir

01/19/2023, 9:06 AM
Yeah i did 😅
Sorry for bad english
r

rp

01/19/2023, 9:06 AM
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

galto4ir

01/19/2023, 9:08 AM
Okey, thank u for your support