Logo

GitLab

Sign in

朱子纯 / test5

  • Back to Dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 1
  • Labels
  • Wiki
  • Snippets
  • test5
  • frontend
  • vite.config.ts
  • feat(frontend): bootstrap Vite + React + AntD + Vitest 骨架 ...
    6c1cc4b8
    REQ_ID: FE-01
    zichun authored
    2026-05-15 17:18:21 +0800  
    Browse Dir »
vite.config.ts 286 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

export default defineConfig({
  plugins: [react()],
  server: {
    port: 5173,
    proxy: {
      '/api/v1': {
        target: 'http://localhost:9090',
        changeOrigin: true,
      },
    },
  },
});