16 lines
418 B
JavaScript
16 lines
418 B
JavaScript
import { fileURLToPath, URL } from 'node:url'
|
|
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
// Ports 5274/8200: kollisionsfrei zu planer (5273/8100) und creator (8000)
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) },
|
|
},
|
|
server: {
|
|
port: 5274,
|
|
proxy: { '/api': 'http://localhost:8200' },
|
|
},
|
|
})
|