url direct access #2936

This commit is contained in:
2024-10-15 10:09:10 +02:00
parent 33bd7696e1
commit 5b2fa651a0
20 changed files with 462 additions and 114 deletions

View File

@ -2,8 +2,17 @@ import { createRouter, createWebHistory } from 'vue-router';
import ModaleView from '../vuejs/Modale.vue';
const routes = [
{ path: '/node/:id', component: ModaleView, name: 'modale' },
{ path: '/', component: ModaleView, name: 'home' },
{
name: 'etape',
path: '/etapes/:title?',
component: ModaleView,
props: {id: null}
},
{
name: 'home',
path: '/',
component: ModaleView
},
];
const router = createRouter({