-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSR/NUXT 3 - Styles get removed #1
Comments
Thanks for you feedback i know why reason cause it :) I will fix it as soon as possbile. |
Perfect, thanks for your work good sir! |
@I-NOZex I release a new version try it. |
@nonzzz unfortunately it didn't solve the problem |
I'm sorry but it doesn't. Tried in Firefox and Edge, in private tabs... Even in a new fork: now the styles of the first button are the ones being removed |
@I-NOZex an off topic, I think it's a bug for vite or vue. When i try to using https://github.com/bluwy/create-vite-extra to create a vue ssr template for vite. I try to remove style block the page will panic or get a white screen.(I don't using stylex). |
@I-NOZex a friendly ping, I create a new release |
Thank you for the heads-up👍
|
@I-NOZex , I create |
With a NUXT SSR app, only the first component registering a style gets to keep it. For some reason, the second component has its styles removed.
Reproduction: https://stackblitz.com/edit/nuxt-3-vite-stylex-x1dwmq?file=components%2Fbtn1.vue,components%2Fbtn2.vue,app.vue
you can notice that the second button shows the red border after loading but quickly loses all styles.
Very likely to be related with the rehydratation
The text was updated successfully, but these errors were encountered: