Skip to content

Commit

Permalink
feat: adjust history order
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyuang committed Oct 24, 2024
1 parent e22a6bb commit 67ea802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-vue3/src/entry/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function createRouter(options: VueRouterOptions & { hashRouter?: boolean;
const base = options.base ?? '/'
const { hashRouter } = options
return create({
history: __isBrowser__ ? (hashRouter ? createWebHashHistory(base) : options.clientHistoryRouterMode === 'webHistory' ? createWebHistory(base) : createMemoryHistory()) : createMemoryHistory(),
history: __isBrowser__ ? (hashRouter ? createWebHashHistory(base) : options.clientHistoryRouterMode === 'memoryHistory' ? createMemoryHistory(base) : createWebHistory(base)) : createMemoryHistory(),
routes: FeRoutes as any
})
}
Expand Down

0 comments on commit 67ea802

Please sign in to comment.