| 1234567891011121314151617 |
- import react from "@vitejs/plugin-react";
- import { defineConfig } from "vite";
- export default defineConfig({
- plugins: [react()],
- server: {
- host: "127.0.0.1",
- port: 5174,
- proxy: {
- "/api": "http://127.0.0.1:4174",
- },
- },
- preview: {
- host: "127.0.0.1",
- port: 4175,
- },
- });
|