12345678910111213141516171819202122 |
- import path from "path";
- import react from "@vitejs/plugin-react";
- import { defineConfig } from "vite";
- export default defineConfig({
- plugins: [react()],
- resolve: {
- alias: {
- "@": path.resolve(__dirname, "./src"),
- },
- },
- server: {
- port: 3300,
- proxy: {
- '/api': {
- target: 'http://localhost:8090',
- changeOrigin: true,
-
- },
- }
- },
- });
|