From 167edb2d572ffa2745d8893a84d4a892cf682eb5 Mon Sep 17 00:00:00 2001 From: Kevin Van Der Werff Date: Sat, 15 Jun 2019 21:59:05 +0200 Subject: [PATCH] add .DS_Store to .gitignore & fix routing --- .gitignore | 2 ++ components/Sidebar.vue | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f935a37..1499620 100644 --- a/.gitignore +++ b/.gitignore @@ -82,3 +82,5 @@ dist # Service worker sw.* + +.DS_store \ No newline at end of file diff --git a/components/Sidebar.vue b/components/Sidebar.vue index 5eb8e08..8157e37 100644 --- a/components/Sidebar.vue +++ b/components/Sidebar.vue @@ -16,7 +16,7 @@ export default { }, created() { this.menuEntries = store.map(({ title, slug }) => ({ - slug: `/categories/${slug}`, + slug: '/categories' + slug, title })) }