I want to redirect to a page in my spa after an action in my small vue app. If I
do this with
window.location.href = "/subpage" the page refreshes and I lose
cached data from my simple storage management.
The goal is to redirect without refreshing.
You can use
Vue router, and use the
<router-link to="/subpage">Sub page</router-link>