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
I've copied the custom_vue_component example in my project. When I change the html template in counter.js, the component isn't updated in the browser (watchfile isn't involved, I'm restarting the whole process). I found that renaming counter.js and changing the component 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:
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 counter.js?
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: