From 6754a199de76c9bea03a6b9b62ed3371602714ec Mon Sep 17 00:00:00 2001 From: Selim Nahimi Date: Fri, 29 Sep 2023 10:47:45 +0000 Subject: [PATCH] Update vite config --- vite.config.ts | 3 ++- vue.config.js | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 724f590..2f48086 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,5 +14,6 @@ export default defineConfig({ alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } - } + }, + base: '/vue-soundscape-player/' }) diff --git a/vue.config.js b/vue.config.js index a37d913..66eeb1a 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,3 +1,7 @@ module.exports = { - publicPath: process.env.NODE_ENV === "production" ? "/vue-soundscape-player/" : "/", -}; \ No newline at end of file + publicPath: "/vue-soundscape-player/"; +}; + +export default defineConfig({ + base: '/vue-soundscape-player/' +}); \ No newline at end of file