Merge pull request #21 from IT4Change/fix-type-error-vuepress-base

fix(docu): fix type error vuepress base
This commit is contained in:
Ulf Gebhardt 2023-12-01 15:09:06 +01:00 committed by GitHub
commit 2f92c55e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -18,4 +18,4 @@ jobs:
#TARGET_BRANCH: master
BUILD_SCRIPT: npm install && npm run docs:build
BUILD_DIR: build/docs/
VUEPRESS_BASE: "/boilerplate-frontend/"
VUEPRESS_BASE: "boilerplate-frontend"

View File

@ -4,5 +4,5 @@ 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}/` ?? '/',
})