ajout correction tp1-2
This commit is contained in:
1 parent
902d02f871
commit
9cce1dd794
34 files changed
+1373
No files matched your search
@@ -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'
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user