feat: support for subpath based access in SH apps (#3449)

Co-authored-by: Balu Babu <balub997@gmail.com>
This commit is contained in:
James George
2023-11-22 19:35:35 +05:30
committed by GitHub
parent ee1425d0dd
commit 1829c088cc
18 changed files with 262 additions and 48 deletions

View File

@@ -42,7 +42,7 @@ export const isLoadingInitialRoute = readonly(_isLoadingInitialRoute);
export default <HoppModule>{
onVueAppInit(app) {
const router = createRouter({
history: createWebHistory(),
history: createWebHistory(import.meta.env.BASE_URL),
routes,
});