Greetings, I am new to developing in Nextcloud so forgive me if the answer to this question is simple but I have been unable to find any information regarding this issue.
I am developing a Nextcloud app using Vue.js for my frontend however; whenever I make changes to the Vue components, save them, then create a new build of the app using “npm run build” those changes are not reflected in Nextcloud at all. Is there an additional step that needs to be done to get the Vue change to reflect in Nextcloud?
Steps to reproduce:
- Download skeleton app
- Load app in Nextcloud and navigate to it to load the page
- Make a change to the content of the Vue file and create a new build
- Reloading the app in Nextcloud still shows the original content without the change
Update: I have figured out that the template of the older version is being cached by Nextcloud since after performing a hard reload that emptied the cache it loaded the updated page.
My new question though is to ask whether there is an easier way to streamline updates without having to empty my cache on each update since that could impact my development time in losing data that I may need to cache.