replace redux with zustand

This commit is contained in:
2025-07-25 01:03:11 +02:00
parent 5448285211
commit 3bcd2e16a2
30 changed files with 510 additions and 534 deletions

View File

@@ -4,16 +4,16 @@ 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"),
},
},
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"),
},
},
});