-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
custom vue.js component not updated after modification #3074
Comments
Hi @MLaurenceFournier, I guess your browser is caching the counter.js file. Try reloading the page with caching disabled and you should be able to seen an update. |
Thanks a lot @falkoschindler. The browser cache was indeed the problem. Now I feel stupid asking the question, but I hope it will save you from answering it another time. May I suggest adding a comment on the subject in |
I'm glad we found the root cause. 🙂 |
Description
I've copied the
custom_vue_component
example in my project. When I change the html template incounter.js
, the component isn't updated in the browser (watchfile isn't involved, I'm restarting the whole process). I found that renamingcounter.js
and changing thecomponent
parameter forces an update.I know almost nothing about vue.js, but I suspect some kind of compilation step is cached and not invalidated when I edit
counter.js
.How can I force a "recompilation" of
counter.js
every time I relaunch the process?system information
os: windows 10
package manager: conda
channel: conda-forge
python: 3.10.12
nicegui: 1.4.25
The text was updated successfully, but these errors were encountered: