You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
398 B

9 months ago
import { createRouter, createWebHashHistory,createWebHistory } from 'vue-router'
import { constRouter } from './module/constRouter'
import defineRouter from './module/constRouter/defineRouter'
9 months ago
const router = createRouter({
history: createWebHashHistory(),
routes: [...defineRouter,constRouter],
9 months ago
scrollBehavior() {
return {
left: 0,
top: 0,
}
},
})
export default router