From e2d05baafd81cbf98f39beaaf47082e172b9fe34 Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Mon, 7 Jan 2019 19:44:56 +1300 Subject: [PATCH] Use router-link instead of a href for some links in the footer --- src/components/core/Footer.vue | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/components/core/Footer.vue b/src/components/core/Footer.vue index 58f1a52c..cea91d8d 100755 --- a/src/components/core/Footer.vue +++ b/src/components/core/Footer.vue @@ -9,9 +9,20 @@ v-for="link in links" :key="link.name" > - {{ link.name }} + + @@ -33,7 +44,7 @@ export default { data: () => ({ links: [ - { name: 'Home', Link: '/dashboard' }, + { name: 'Home', Link: '/dashboard', route: true }, { name: 'Creative Tim', Link: 'https://www.creative-tim.com' }, { name: 'About Us', Link: 'https://creative-tim.com/presentation' }, { name: 'Blog', Link: 'https://blog.creative-tim.com' }