Uh oh!
There was an error while loading. Please reload this page.
fix(ui): default data-theme on SSR - #939
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull request overview
This PR attempts to fix a Flash of Unstyled Content (FOUC) issue during server-side rendering by setting a default data-theme attribute to 'light' on the HTML element.
Changes:
- Adds a hardcoded
data-theme: 'light'attribute to the HTML element viauseHead()in app.vue - Includes a comment explaining that this is intended to prevent a white page flash during initial load
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
📝 WalkthroughWalkthroughThe pull request introduces a new 🚥 Pre-merge checks | ❌ 1❌ Failed checks (1 inconclusive)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
Uh oh!
There was an error while loading. Please reload this page.
No description provided.