0👍
So the solution that I found for this is to use createWebHistory()
and to recreate all the paths with the base url in it.
let routes = [
{
path: '/newapp/',
name: 'home',
component: home,
meta: { scrollPos: { top: 140, left: 0 },
},
},
{
path: '/newapp/about',
name: 'about',
component: about,
meta: {
scrollPos: { top: 140, left: 0 },
},
},
]
- [Vuejs]-HTML 5 wait for drawImage to finish in a Vue SPA
- [Vuejs]-How to display a week range v-date-picker range?
Source:stackexchange.com