navigation prev next browser

This commit is contained in:
Valentin
2024-11-14 04:28:38 +01:00
parent 9bf84290ac
commit 31b577cc8b
5 changed files with 75 additions and 43 deletions

View File

@ -2,13 +2,13 @@ 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,
@ -20,10 +20,10 @@ const routes = [
component: ModaleView,
}
];
const router = createRouter({
history: createWebHistory(),
routes,
});
export default router;
export default router;