import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; import { fileURLToPath, URL } from 'node:url'; // https://vitejs.dev/config/ export default defineConfig({ base: '/wlmobile/', plugins: [vue()], resolve: { alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } }, server: { port: 5174, proxy: { '/wlmobile': { target: 'http://localhost:8200', changeOrigin: true } } } });