Replies: 1 comment
-
Guess the cause is the same issue as #10905. But in my case, I am not modifying index.css, but is still hot reloaded multiple times, causing weird transitory visual effects. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue is only in development mode.
Rather than load index.css once, it is loaded as a hot update for every page and component when one hovers on the link to that page.
Makes initial experience very jerky.
Did not use to do this.
import '../index.css'
is in script section of +layout.svelte in routes folder.Using:
Vite 6.0.3
tailwindcss 4.0.0-beta.7
@tailwindcss/vite 4.0.0-beta.7
Is this a bug, or
Am I doing something wrong, or
Is this an undesirable feature of SvelteKit
Beta Was this translation helpful? Give feedback.
All reactions