76 lines
1.7 KiB
TypeScript
76 lines
1.7 KiB
TypeScript
import { createRouter, createWebHistory } from 'vue-router'
|
|
import HomeView from '../views/home.vue'
|
|
|
|
const router = createRouter({
|
|
history: createWebHistory(import.meta.env.BASE_URL),
|
|
routes: [
|
|
{
|
|
path: '/',
|
|
name: 'home',
|
|
component: HomeView,
|
|
},
|
|
{
|
|
path: '/three/1',
|
|
name: 'three-1',
|
|
component: () => import('../views/three/1/index.vue'),
|
|
},
|
|
{
|
|
path: '/three/2',
|
|
name: 'three-2',
|
|
component: () => import('../views/three/2/index.vue'),
|
|
},
|
|
{
|
|
path: '/three/3',
|
|
name: 'three-3',
|
|
component: () => import('../views/three/3/index.vue'),
|
|
},
|
|
{
|
|
path: '/three/4',
|
|
name: 'three-4',
|
|
component: () => import('../views/three/4/index.vue'),
|
|
},
|
|
{
|
|
path: '/three/5',
|
|
name: 'three-5',
|
|
component: () => import('../views/three/5/index.vue'),
|
|
},
|
|
{
|
|
path: '/three/6',
|
|
name: 'three-6',
|
|
component: () => import('../views/three/6/index.vue'),
|
|
},
|
|
{
|
|
path: '/three/7',
|
|
name: 'three-7',
|
|
component: () => import('../views/three/7/index.vue'),
|
|
},
|
|
{
|
|
path: '/three/8',
|
|
name: 'three-8',
|
|
component: () => import('../views/three/8/index.vue'),
|
|
},
|
|
{
|
|
path: '/three/9',
|
|
name: 'three-9',
|
|
component: () => import('../views/three/9/index.vue'),
|
|
},
|
|
{
|
|
path: '/three/10',
|
|
name: 'three-10',
|
|
component: () => import('../views/three/10/index.vue'),
|
|
},
|
|
{
|
|
path: '/three/11',
|
|
name: 'three-11',
|
|
component: () => import('../views/three/11/index.vue'),
|
|
},
|
|
{
|
|
path: '/3d-point',
|
|
name: '3d-point',
|
|
component: () => import('../views/3d-point.vue'),
|
|
},
|
|
],
|
|
})
|
|
|
|
export default router
|