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
The same behaviour counts for .ts files. Changes within them will trigger a whole page reload, which does not happen without the @nuxtjs/tailwindcss module.
I'm trying to understand this, thinking that a PostCSS cache invalidate may cause a page to reload, but I see your point that it isn't necessary. Just linking a related issue too - vitejs/vite#5808. Bottom line is that if the vanilla installation doesn't cause a page reload, then using the module shouldn't cause it either, so I agree this to be a bug.
Environment
Darwin
v20.11.0
3.12.3
3.12.0
2.9.7
[email protected]
-
compatibilityDate
,devtools
,modules
@nuxtjs/[email protected]
-
Reproduction
https://stackblitz.com/edit/github-xdbpil?file=pages%2Findex.vue
Describe the bug
As soon as i install the nuxt tailwindcss module, the HMR triggers a
page reload
.With tailwind module
Having a plain nuxt application, without tailwind installed will not trigger a page reload.
Without tailwind module
However, if you change files/components which are part of the current page, even with the tailwindcss plugin there is no complete page-reload:
With tailwind module + component is used in current page
The same behaviour counts for
.ts
files. Changes within them will trigger a whole page reload, which does not happen without the@nuxtjs/tailwindcss
module.With tailwind module
Without tailwind module
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: