mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-04 15:26:07 +08:00
docs(projects): 更新README.md
This commit is contained in:
@@ -11,7 +11,8 @@ const isVercel = import.meta.env.VITE_HTTP_ENV === 'VERCEL';
|
||||
|
||||
const router = createRouter({
|
||||
history: isVercel ? createWebHashHistory() : createWebHistory(),
|
||||
routes
|
||||
routes,
|
||||
scrollBehavior: () => ({ left: 0, top: 0 })
|
||||
});
|
||||
|
||||
export async function setupRouter(app: App) {
|
||||
|
||||
Reference in New Issue
Block a user