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
{{ message }}
Repository navigation
HMR is really slow when there are a lot of Vue components with <style> #7480
What version of Tailwind CSS are you using?
3.0.22
What build tool (or framework if it abstracts the build tool) are you using?
vite 2.8.2
What version of Node.js are you using?
16.13.0
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction URL
With
<style>tags (slow): https://github.com/hivokas/laravel-vue-vite-tailwind-slow/tree/with-style-tagsWith
<style>tags, without Tailwind (fast): https://github.com/hivokas/laravel-vue-vite-tailwind-slow/tree/without-tailwindWithout
<style>tags, with Tailwind (fast): https://github.com/hivokas/laravel-vue-vite-tailwind-slow/tree/without-style-tagsHow to run the reproduction:
npm installcomposer installlaravel-vue-vite-tailwind-slow.testif you're using Valetnpm run devto start the Vite dev serverwith-style-tags,without-tailwindandwithout-style-tagsto see the differenceDescribe your issue
HMR works really slow when there are a lot of Vue components with
<style>.Here is the detailed demo:
TailwindIssue.mp4