import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import vuetify from 'vite-plugin-vuetify' // https://vite.dev/config/ export default defineConfig({ plugins: [ vue(), vuetify({ autoImport: true }), ], server: { host: '0.0.0.0', allowedHosts: true, strictPort: false, proxy: { '/api': { target: 'http://127.0.0.1:8000', changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, ''), ws: true } } } })