Ignore:
Timestamp:
01/23/25 18:48:23 (3 months ago)
Author:
Ljubomir Ilievski <ilievski.ljubomir@…>
Branches:
master
Children:
a0e93df
Parents:
4446c6f
Message:

Ready to begin with connection with backend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ReserveNGo-frontend/src/router/index.js

    r4446c6f rf9ef3e8  
    11import { createRouter, createWebHistory } from 'vue-router'
    22
    3 import My_reservations from '@/components/Project/My_reservations.vue'
     3
    44import home_ from '@/components/Project/home_.vue'
    55import login_ from '@/components/Project/login_.vue'
    66import register_ from '@/components/Project/register_.vue'
     7import favourite_locals from '@/components/Project/favourite_locals.vue'
     8import my_reservations from '@/components/Project/My_reservations.vue'
    79
    810const router = createRouter({
     
    1012  routes: [
    1113    {
    12       path: '/topics',
    13       name: 'my_reservations',
    14       component: My_reservations,
     14      path: '/favourite_locals',
     15      name: 'favourite_locals',
     16      component: favourite_locals,
    1517      // route level code-splitting
    1618      // this generates a separate chunk (About.[hash].js) for this route
    1719      // which is lazy-loaded when the route is visited.
    1820
     21    },
     22    {
     23      path: '/my_reservations',
     24      name: 'my reservations',
     25      component: my_reservations,
    1926    },
    2027    {
Note: See TracChangeset for help on using the changeset viewer.