ajout correction tp1-2

This commit is contained in:
keahorvath committed 2023-03-03 15:43:36 +01:00
1 parent 902d02f871
commit 9cce1dd794
34 files changed
+1373

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
server: {
proxy: {
'^/images': {
target: 'http://localhost:8080' // Spring boot backend address
}
}
},
build: {
outDir: 'target/dist',
assetsDir: 'static'
}
})