Change base configuration code to the dreammall.earth example

This commit is contained in:
Wolfgang Huß 2023-12-14 14:27:07 +01:00
parent 8d32faac1f
commit 73b4459a02

View File

@ -7,7 +7,7 @@ export default defineUserConfig({
...meta,
theme,
plugins,
base: process.env.VUEPRESS_BASE ?? '/',
base: process.env.VUEPRESS_BASE ? `/${process.env.VUEPRESS_BASE}/` : '/',
locales:{
// The key is the path for the locale to be nested under.
// As a special case, the default locale can use '/' as its path.