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