You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're not using critical CSS (maybe some day) and want the CSS to be loaded synchronously, but for some reason setting the 2nd argument to false does not work:
{{ craft.vite.script("src/js/app.ts", false) }}
There is about 2 second FOUC every time I navigate to a new page, which is really annoying for one, but also completely destroys all (the possibility to test) view-transitions.
For now, I resigned to including the CSS in a style tag before including the JS (in local environment only)
Question
We're not using critical CSS (maybe some day) and want the CSS to be loaded synchronously, but for some reason setting the 2nd argument to false does not work:
There is about 2 second FOUC every time I navigate to a new page, which is really annoying for one, but also completely destroys all (the possibility to test) view-transitions.
For now, I resigned to including the CSS in a style tag before including the JS (in local environment only)
Any thoughts?
The text was updated successfully, but these errors were encountered: