refactor du système de routing (EXPORTS DES SETTINGS DRUPAL)

This commit is contained in:
Valentin
2024-10-17 02:50:39 +02:00
parent 74f099ebdd
commit d5c5d81841
20 changed files with 613 additions and 712 deletions

View File

@@ -2,17 +2,23 @@ import { createRouter, createWebHistory } from 'vue-router';
import ModaleView from '../vuejs/Modale.vue';
const routes = [
{
/* {
name: 'etape',
path: '/etapes/:title?',
component: ModaleView,
props: {id: null}
props: {id: null},
},
{
name: 'home',
path: '/',
component: ModaleView
component: ModaleView,
},
*/
// Not much to do here nah ?
{
path: '/:catchAll(.*)',
component: ModaleView,
}
];
const router = createRouter({