Add example project
This commit is contained in:
parent
20b12f3c60
commit
db9e65e9d7
18 changed files with 4650 additions and 0 deletions
12
example/frontend/vite.config.ts
Normal file
12
example/frontend/vite.config.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
proxy: {
|
||||
"/api": "http://127.0.0.1:8787",
|
||||
"/tauth": "http://127.0.0.1:8787",
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Reference in a new issue