add flatastic api

This commit is contained in:
2025-07-24 22:29:23 +02:00
parent afd46715c2
commit 5448285211
21 changed files with 290 additions and 83 deletions

View File

@@ -1,7 +1,19 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
"@components": path.resolve(__dirname, "src/components"),
"@store": path.resolve(__dirname, "src/store"),
"@api": path.resolve(__dirname, "src/api"),
"@types": path.resolve(__dirname, "src/types"),
"@thunks": path.resolve(__dirname, "src/store/thunks"),
"@slices": path.resolve(__dirname, "src/store/slices"),
},
},
});