build: generate build with admin as the base for subpath based access

This commit is contained in:
jamesgeorge007
2023-10-24 13:52:22 +05:30
parent 03e21e0b0c
commit 8703a0dcfd
4 changed files with 10 additions and 3 deletions

View File

@@ -15,7 +15,6 @@ import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
export default defineConfig({
envPrefix: process.env.HOPP_ALLOW_RUNTIME_ENV ? 'VITE_BUILDTIME_' : 'VITE_',
envDir: path.resolve(__dirname, '../..'),
base: '/admin/',
server: {
port: 3100,
},