From 9c917cd21d1926fd3189fbec4ce4e76f2e26f4c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20M=C3=BCller?= Date: Fri, 29 Mar 2019 10:50:11 +0100 Subject: [PATCH] fix(docs): add back missing leading slash to search urls --- docs/components/search.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/search.vue b/docs/components/search.vue index b09802403c4..3277d34a07a 100644 --- a/docs/components/search.vue +++ b/docs/components/search.vue @@ -60,7 +60,7 @@ import { components, directives, reference, misc } from '~/content' const SEARCH = [] const process = (readme, section, page) => { - const baseURL = ['docs', section, page].filter(v => !!v).join('/') + const baseURL = '/' + ['docs', section, page].filter(v => !!v).join('/') const { title, toc } = makeTOC(readme) ;[...toc].forEach(({ label, href }) => { SEARCH.push({