diff --git a/v1-com-officielle/vite.config.js b/v1-com-officielle/vite.config.js index f2bbf65..57a0efa 100644 --- a/v1-com-officielle/vite.config.js +++ b/v1-com-officielle/vite.config.js @@ -1,5 +1,6 @@ import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' +import path from 'path' import svgLoader from 'vite-svg-loader' // https://vite.dev/config/ @@ -8,5 +9,10 @@ export default defineConfig({ server:{ host: '0.0.0.0', port:8080 + }, + resolve: { + alias: { + '@': path.resolve(__dirname, './src') + } } })