vite-plugin-vue2 icon indicating copy to clipboard operation
vite-plugin-vue2 copied to clipboard

HMR doesn't work correctly with TailwindCSS 2 (JIT mode), Vite 2, Vue 2

Open hivokas opened this issue 3 years ago • 1 comments

HMR with TailwindCSS 2 in JIT mode, Vite 2, Vue 2 doesn't work correctly (styles are not updated).

Demo:

https://user-images.githubusercontent.com/22997803/138445184-fccf6ec9-54c1-4c9c-95ce-539a567bb343.mp4

Reproduction repo:

  • Vue 2 (doesn't work) - https://github.com/hivokas/hmr-issue-tailwind-2-jit/tree/vue-2
  • Vue 3 (works) - https://github.com/hivokas/hmr-issue-tailwind-2-jit/tree/vue-3

P.S. appreciate your work on vite-plugin-vue2!

hivokas avatar Oct 22 '21 11:10 hivokas

F

ash668 avatar Oct 24 '21 01:10 ash668