Initial commit

This commit is contained in:
andrea.terzani
2024-07-30 15:12:56 +02:00
commit f9472a4197
202 changed files with 28556 additions and 0 deletions

30
src/router/index.js Normal file
View File

@@ -0,0 +1,30 @@
import AppLayout from '@/layout/AppLayout.vue';
import { createRouter, createWebHistory } from 'vue-router';
const router = createRouter({
history: createWebHistory(),
routes: [
{
path: '/',
component: AppLayout,
children: [
{
path: '/',
name: 'dashboard',
component: () => import('@/views/Dashboard.vue')
},
{
path: '/ksdocuments',
name: 'ks-documents',
component: () => import('@/views/pages/KsDocuments.vue'),
children: [
{path: 'new', name: 'ks-documents-new', component: () => import('@/views/pages/KsDocumentForm.vue')},
{path: ':id', name: 'ks-document-edit', component: () => import('@/views/pages/KsDocumentForm.vue')}
]
}
]
}
]
});
export default router;