layout, mdi, static menu & page, font, ...

This commit is contained in:
2023-01-30 16:34:20 +01:00
parent 3e791910cc
commit a8883be9b7
32 changed files with 2242 additions and 47 deletions

View File

@@ -1,5 +1,6 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '@views/Home.vue'
import StaticView from '@views/Static.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -8,15 +9,16 @@ const router = createRouter({
path: '/',
name: 'home',
component: HomeView
},
{
path: '/static/:id',
name: 'static',
// route level code-splitting
// this generates a separate chunk (About.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import('../views/Static.vue'),
props: true
}
// {
// path: '/about',
// name: 'about',
// // route level code-splitting
// // this generates a separate chunk (About.[hash].js) for this route
// // which is lazy-loaded when the route is visited.
// component: () => import('../views/AboutView.vue')
// }
]
})