build(ui):调整路径别名配置。
This commit is contained in:
		| @@ -1,8 +1,14 @@ | ||||
| import react from "@vitejs/plugin-react-swc"; | ||||
| import path from "path"; | ||||
| import { defineConfig } from "vite"; | ||||
|  | ||||
| // https://vitejs.dev/config/ | ||||
| export default defineConfig({ | ||||
|   resolve: { | ||||
|     alias: { | ||||
|       "@": path.resolve(__dirname, "src"), | ||||
|     }, | ||||
|   }, | ||||
|   plugins: [react()], | ||||
|   server: { | ||||
|     proxy: { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user