15 lines
316 B
TypeScript
15 lines
316 B
TypeScript
import { defineConfig } from 'vite';
|
|
import vue from '@vitejs/plugin-vue';
|
|
|
|
export default defineConfig({
|
|
base: process.env.VITE_BASE || '/install/',
|
|
plugins: [vue()],
|
|
server: {
|
|
port: 5175,
|
|
host: true,
|
|
proxy: {
|
|
'/api': { target: 'http://localhost:3000', changeOrigin: true },
|
|
},
|
|
},
|
|
});
|