Skip to content

Conversation

userquin
Copy link
Member

@userquin userquin commented Sep 22, 2025

DON'T MERGE THIS PR

Some changes moved to the index.html + beasties marks. This way we can also have themes in the local storage.

NOTES:

  • theme script should go after the css (critical): to avoid flash colors/themes should be also in the critical css
  • some layout components at docs with scoped styles + beasties marks (I'm trying to force beasties to move the styles to the critical css in vite-ssg build step)
  • right now the docs is not an SPA/CSR app, the last main.ts options using hydration flag at build time => vite-ssg will use createSSRApp instead createApp: Vue will just trust the html hydrating the vue tree
  • you can check page refresh after build + preview, CLS=0 on mobile and small CLS on desktop
  • you can remove the last option in the main.ts, build and preview again => SPA: huge LCP and CLS (the drawer will force the main transition/animation)

Copy link

vercel bot commented Sep 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
vuetify0 Ready Ready Preview Comment Sep 22, 2025 4:57pm

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

Successfully merging this pull request may close these issues.

1 participant