Updated the vite.config.js
This commit is contained in:
parent
4929baea29
commit
988815a92c
@ -1,6 +1,17 @@
|
||||
import { defineConfig } from "vite";
|
||||
import {defineConfig} from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import path from "path";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
proxy: {
|
||||
"/api": "http://localhost:8671/"
|
||||
}
|
||||
}
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user