’m facing a big problem. I have a pwa built and everytime I run quasar build, browsers like chrome, brave and opera do not update their caches. So, I have to press CTRL+F5 in pc to get the new version of my app build. In mobile devices my problem is even bigger because I’ve to refresh manually many and many times my app to get updates. I’ve created an item in my menu containing a function with window.location.reload(true) but even so I can’t update the application and it forces the user to have to refresh the page with ctrl+f5. What I’m needing right now it’s a way to create a version of my js and css files everytime I run build. Something like app.1234231.js?v=123, app.1234231.js?v=1234, app.1234231.js?v=12345 and so on.
Best posts made by haohmaru
-
Problem with caching old version.
Latest posts made by haohmaru
-
Running nodejs inside electron app
I’m developing an electron app with quasar and my api is built in nodejs. I’ld like to put my api inside my quasar software and not having two services “separately”. So, in this case, quasar (electron) initializes and it starts the node server. Is it possible?
-
Problem with caching old version.
’m facing a big problem. I have a pwa built and everytime I run quasar build, browsers like chrome, brave and opera do not update their caches. So, I have to press CTRL+F5 in pc to get the new version of my app build. In mobile devices my problem is even bigger because I’ve to refresh manually many and many times my app to get updates. I’ve created an item in my menu containing a function with window.location.reload(true) but even so I can’t update the application and it forces the user to have to refresh the page with ctrl+f5. What I’m needing right now it’s a way to create a version of my js and css files everytime I run build. Something like app.1234231.js?v=123, app.1234231.js?v=1234, app.1234231.js?v=12345 and so on.
-
Q-select and values
I receive these data on created cycle of component:
{title: ‘any title’, type: ‘medical’, id: ‘mongo objectid here’}
and I make my q-select passing title and id to it. But, how could I get a third attribute/parameter on change event of my select to get the type value?
Example: I would like to get, on change event of my select, the value of the selected option and in somewhere get also the type. In others words, something like that:
<select>
<option value=“any value” type=“medical”>Any title </option>
<option value=“any value 2” type=“child”>Another title here </option>
</select>