From a3dc59c1c7d2ae93d92f643d8050b02bf21a131c Mon Sep 17 00:00:00 2001 From: medilies Date: Fri, 21 Apr 2023 13:05:11 +0100 Subject: [PATCH] server base path for gh pages --- vite.config.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index de5cb31..26521a3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,10 +5,11 @@ import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ - plugins: [vue()], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) + plugins: [vue()], + base: '/ez-ip-app', + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)) + } } - } })