first commit

This commit is contained in:
Gabriel Pastori
2023-10-30 10:31:12 -03:00
commit 0dcb482258
296 changed files with 3757 additions and 0 deletions

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

@@ -0,0 +1,29 @@
// Composables
import { createRouter, createWebHistory } from 'vue-router'
const routes = [
{
path: '/',
component: () => import('@/layouts/default/Default.vue'),
children: [
{
path: '',
name: 'instances',
component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue'),
},
{
path: ':id',
name: 'instance',
component: () => import('@/views/Instance.vue'),
}
],
},
]
const router = createRouter({
history: createWebHistory(process.env.BASE_URL),
routes,
})
export default router