2023版本配置

This commit is contained in:
黄心宇 2024-08-09 11:10:25 +08:00
parent 8e5738b95b
commit 442d211602
1 changed files with 3 additions and 1 deletions

View File

@ -27,5 +27,7 @@ export default defineConfig({
],
plugins: ['@umijs/plugins/dist/model'],
model: {},
hash: true
hash: true,
base: '/2023/',
publicPath: process.env.NODE_ENV === 'production' ? '/2023/' : '/',
});