feat(index.js): añadidas rutas de Recipes y AISearch

parent 24dd7ec3
Showing with 12 additions and 0 deletions
import { createRouter, createWebHistory } from 'vue-router' import { createRouter, createWebHistory } from 'vue-router'
import Login from '@/views/Login.vue' import Login from '@/views/Login.vue'
import Register from '@/views/Register.vue' import Register from '@/views/Register.vue'
import AISearch from '@/views/AISearch.vue'
import Recipes from '@/views/Recipes.vue'
const routes = [ const routes = [
{ {
...@@ -16,6 +18,16 @@ const routes = [ ...@@ -16,6 +18,16 @@ const routes = [
path: '/auth/register', path: '/auth/register',
name: 'Register', name: 'Register',
component: Register component: Register
},
{
path: '/recipes/search',
name: 'AISearch',
component: AISearch
},
{
path: '/recipes',
name: 'Recipes',
component: Recipes
} }
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment