国外MOSE官网
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.
 
 
 

59 lines
1.2 KiB

import { createRouter, createWebHistory } from 'vue-router'
const routes = [
{
path: '/',
name: 'Home',
component: () => import('@/views/Home.vue')
},
{
path: '/ecosystem',
name: 'Ecosystem',
component: () => import('@/views/Ecosystem.vue')
},
{
path: '/about',
name: 'About',
component: () => import('@/views/About.vue')
},
{
path: '/community',
name: 'Community',
component: () => import('@/views/Community.vue')
},
{
path: '/faq',
name: 'FAQ',
component: () => import('@/views/FAQ.vue')
},
{
path: '/contact',
name: 'Contact',
component: () => import('@/views/Contact.vue')
},
{
path: '/technology',
name: 'Technology',
component: () => import('@/views/Technology.vue')
},
// {
// path: '/animations',
// name: 'Animations',
// component: () => import('@/components/AnimationDemo.vue')
// },
{
path: '/:pathMatch(.*)*',
name: 'NotFound',
component: () => import('@/views/NotFound.vue')
}
]
const router = createRouter({
history: createWebHistory(),
routes,
scrollBehavior() {
return { top: 0 }
}
})
export default router