From f59a679d3b6d8047e34d11008a851e57dda070bb Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 1 Dec 2023 15:06:03 +0100 Subject: [PATCH] fix type error vuepress base --- .github/workflows/frontend.deploy.docs.yml | 2 +- .vuepress/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend.deploy.docs.yml b/.github/workflows/frontend.deploy.docs.yml index 782c6c5..957e80a 100644 --- a/.github/workflows/frontend.deploy.docs.yml +++ b/.github/workflows/frontend.deploy.docs.yml @@ -18,4 +18,4 @@ jobs: #TARGET_BRANCH: master BUILD_SCRIPT: npm install && npm run docs:build BUILD_DIR: build/docs/ - VUEPRESS_BASE: "/boilerplate-frontend/" \ No newline at end of file + VUEPRESS_BASE: "boilerplate-frontend" \ No newline at end of file diff --git a/.vuepress/config.ts b/.vuepress/config.ts index 3789134..92d5f49 100644 --- a/.vuepress/config.ts +++ b/.vuepress/config.ts @@ -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}/` ?? '/', })