Merge pull request #22 from IT4Change/include-LICENSE-file,-fix-undefined-bug-introduced-with-VUEPRESS_BASE-PR

fix(docu): include LICENSE file in docu build
This commit is contained in:
Ulf Gebhardt 2023-12-01 15:26:40 +01:00 committed by GitHub
commit 82c147ad07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,5 +4,6 @@ export default defineUserConfig({
title: 'IT4C Frontend Boilerplate Documentation', title: 'IT4C Frontend Boilerplate Documentation',
description: 'IT4C Frontend Boilerplate Documentation', description: 'IT4C Frontend Boilerplate Documentation',
dest: 'build/docs', dest: 'build/docs',
base: `/${process.env.VUEPRESS_BASE}/` ?? '/', base: process.env.VUEPRESS_BASE ? `/${process.env.VUEPRESS_BASE}/` : '/',
pagePatterns: ['**/*.md', '**/LICENSE', '!.vuepress', '!node_modules'],
}) })