Commit 4e40aa96 authored by Silvana's avatar Silvana

Link to the pages at home page

parent c6974e9a
......@@ -3,6 +3,9 @@
<h2>
Recipe
</h2>
<router-link to="/recipe">Go to Recipe</router-link><br>
<router-link to="/profile">Go to Profile</router-link>
<search-bar></search-bar>
<carousel :per-page="1">
<slide>
......
......@@ -25,12 +25,12 @@ Vue.use(Router)
const router = new Router({
routes: [
{
path: '/home',
path: '/',
name:'home',
component: Home,
},
{
path: '/',
path: '/profile',
name:'profile',
component: ProfileSetup,
},
......
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 to comment