Create base webui
This commit is contained in:
@@ -1,6 +1,20 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import {defineConfig} from "vite"
|
||||
import react from "@vitejs/plugin-react"
|
||||
import * as path from "path";
|
||||
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
plugins: [react()],
|
||||
server: {
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://localhost:8379"
|
||||
}
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "src"),
|
||||
}
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user