Can anyone think of a versioning solution when using Vite instead of Mix? #564
Unanswered
shealan
asked this question in
Help (Vue)
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have my Laravel/Inertia/Vue project running with Vite and Tailwind JIT. It's insanely fast!
Because Vite replaces Mix entirely I cannot use the .version() feature. This means that although template/css changes are instant. Most data or function changes in my Vue code triggers a full page reload.
Can anyone think of a solution for adding the version feature to Vite in order to activate full HMR?
With Vite becoming more popular due to the crazy speed improvements, especially paired with Tailwind JIT, I see this becoming a popular request.
Beta Was this translation helpful? Give feedback.
All reactions