diff --git a/src/App.vue b/src/App.vue index 223ec29..6172baf 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,9 +1,5 @@ - - diff --git a/vite.config.js b/vite.config.js index 1dd3dd0..142a7b0 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,6 +1,7 @@ +import { fileURLToPath, URL } from "url"; import vue from '@vitejs/plugin-vue' -const BASE_URL = 'http://localhost:3000' +const BASE_URL = 'http://localhost:3000/' export default { rollupOptions: { @@ -19,4 +20,9 @@ export default { } } })], + resolve: { + alias: { + "@": fileURLToPath(new URL("./src", import.meta.url)), + }, + }, } \ No newline at end of file