From ae0155e0752e73fe30d9c1e806dff9f9423ea844 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 1 Dec 2023 15:23:10 +0100 Subject: [PATCH] include LICENCE file in pagePatterns to allow to link it in the docu, fix undefined bug intoroduced with VUEPRESS_BASE PR --- .vuepress/config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vuepress/config.ts b/.vuepress/config.ts index 92d5f49..eacb96a 100644 --- a/.vuepress/config.ts +++ b/.vuepress/config.ts @@ -4,5 +4,6 @@ export default defineUserConfig({ title: 'IT4C Frontend Boilerplate Documentation', description: 'IT4C Frontend Boilerplate Documentation', dest: 'build/docs', - base: `/${process.env.VUEPRESS_BASE}/` ?? '/', + base: process.env.VUEPRESS_BASE ? `/${process.env.VUEPRESS_BASE}/` : '/', + pagePatterns: ['**/*.md', '**/LICENSE', '!.vuepress', '!node_modules'] })