Skip to content
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

CSS Delay/Flickr when refreshing the page (Not just first time load) #160

Open
nk-gears opened this issue Nov 14, 2023 · 2 comments
Open

Comments

@nk-gears
Copy link

Thanks for this beautiful theme and we have been using for one of our Project. We noticed that when we refresh the page the css styles are applied with initial latency and creates some flickering effect in the UI.

Did you noticed this?. Is there a workaround for this ?

I tried in the Online Demo as well in our Local Setup
https://sakai-nuxt.vercel.app/demo/formlayout

@DreadfulCode
Copy link

Dealbreaker.

@ItsMeRomian
Copy link

Easy fix, just add the following line for the theme you like to use in nuxt.config.ts under app.head.link

{ rel: 'stylesheet', href: '/themes/tailwind-light/theme.css' }

And remove the theme switcher and theme composable, as you probably dont want to use that in your finished product

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants