Skip to content

Commit 718c889

Browse files
committed
chore: modify the base path of docs
1 parent 42c18db commit 718c889

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/.vitepress/config/shared.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { whyframeVue } from '@whyframe/vue';
55
const isProd = process.env.NODE_ENV === 'production';
66

77
export const shared = defineConfig({
8+
base: !isProd ? '/' : '/responsive-toolkit/',
9+
810
title: 'Responsive Toolkit',
911
description:
1012
'A lightweight and powerful Toolkit for building responsive websites.',
@@ -24,7 +26,6 @@ export const shared = defineConfig({
2426
},
2527

2628
vite: {
27-
base: !isProd ? '/' : '/responsive-toolkit/',
2829
plugins: [
2930
whyframe({
3031
/**

0 commit comments

Comments
 (0)