I want a VueJS function (fetchDataFromAPI) to run every time the page loads.
This code works in the browser, but not in the Android emulator:
watch: {
'$route': 'fetchDataFromAPI',
},
Any suggestions what to try?
I want a VueJS function (fetchDataFromAPI) to run every time the page loads.
This code works in the browser, but not in the Android emulator:
watch: {
'$route': 'fetchDataFromAPI',
},
Any suggestions what to try?