From 69cc17f6dfa7299d9f6a0757a58ee0b5b3ce8ec1 Mon Sep 17 00:00:00 2001 From: jedi Date: Sat, 30 Nov 2019 00:59:04 +0100 Subject: [PATCH] add link urls in navbar --- src/components/Navbar.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index 0b75dee..709c3c9 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -37,7 +37,7 @@ @@ -52,7 +52,12 @@ import { mapState, mapActions, mapMutations } from 'vuex'; export default { name: 'Navbar', data: () => ({ - links: ['items', 'boxes', 'mass-edit', 'howto engel'], + links: [ + {'title':'items','path':'/'}, + {'title':'boxes','path':'/boxes/'}, + {'title':'mass-edit','path':'#'}, + {'title':'howto engel','path':'/howto/'} + ], buttons: [ { title: 'Add', icon: 'plus', color: 'success' }, { title: 'Refresh', icon: 'sync-alt', color: 'primary' },