-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot reloading issue #11210
Comments
There has been a few discussions about a hot reloading issues in the past few weeks: Check it out to see if you could find a workaround there. |
@tianhuat If you are using the Class API, then it's been recently fixed (today): vuejs/vue-loader#1897 We will have our own release soon. |
This seems to be something different, for TS + Options API. |
@rstoenescu He is using q/app v3.1.8 in the video. The HMR fix is in q/app v3.1.9... |
His issue has nothing to do with the fix for TS + vue-class-component. He is not using the Class API. @hawkeye64 |
I am facing same issues occasionally with HMR not working when changing something in template |
I don't know if it's related or if it can help but I'm facing the same issue as @Smrtnyk but with vite and script setup on q-btn props. EDIT
|
I am facing the same problem shown in the video (HMR not working when adding props/attributes to elements). I am using TS with composition API without script setup, with @quasar/app v3.1.10. |
Hi @hawkeye64 @rstoenescu, I have updated to @quasar/app v3.1.10, the above problem seems to be resolved, but I faced another hot reloading problem: I attached the code here for your testing convenient:
|
Vue has fixed some stuff regarding hmr in latest release |
I have updated the dependencies and it seems to be fixed now. |
Hi, how do we upgrade to the latest vue version and test in the existing Quasar project? |
if you are using quasar cli you don't, you wait for quasar to upgrade |
@quasar/app should be updated/released this weekend |
I do still face this problem. both with or without the "setup" in the script tag <script setup lang="ts"> I started a new quasar project using the CLI - Quasar 2 Vue 3 with Typescript and Vite |
I can confirm this problem in some of the local projects, I created some repros in StackBlitz to showcase the problems. The repros use Quasar CLI with Vite without TypeScript, but the problem also exists when using TypeScript.
|
i am having similar issue, i an using script setup + vite + js , my issue is only in composable , the hot reload is not working in composable file changes rest child parent components working fine my structure of app layout>loginPage>loginComponent the login component and login page both uses the loginComposable < here changes are not reflecting |
I believe this is a known issue with Vite, but don't have the capacity to find the issue # right now. |
Might be related: vitejs/vite#8224, vitejs/vite#7839 |
Problem still persists. App Setup InfoOperating System - Darwin(22.2.0) - darwin/x64 NodeJs - 16.14.2 Global packages Important local packages vue - 3.2.31 -- The progressive JavaScript framework for building modern web UI. vuex - 4.0.2 -- state management for Vue.js |
This might fix the problem when vue 3.3 is out: |
Since we moved to using the |
Just found out, i forgot to change component path in route file. Before this i rename the folder of component. Now it fixed and working fine. |
Somehow I managed to solve it by updating the quasar packages and also updating other packages in my project with yarn outdated command. 🚀
|
Hi I am using Quasar CLI with latest Quasar downloaded yesterday in Windows 10. I have some issues with hot reloading highlighted here: https://www.loom.com/share/3137f7ac86974af78a222a207b7c375e, what is the problem?
The text was updated successfully, but these errors were encountered: