Replace individual Rust migration modules with a define_sql_migrations macro that reads up/down SQL files via include_str!. Consolidate all legacy single-file SQL into per-table directories and add full schema migration coverage for 90+ tables. |
||
|---|---|---|
| apps | ||
| deploy | ||
| docker | ||
| libs | ||
| public | ||
| scripts | ||
| src | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| .mcp.json | ||
| .prettierignore | ||
| .prettierrc | ||
| build.sh | ||
| bun.lock | ||
| Cargo.lock | ||
| Cargo.toml | ||
| components.json | ||
| deploy.sh | ||
| eslint.config.js | ||
| gene.md | ||
| index.html | ||
| lib.rs | ||
| openapi.json | ||
| orval.config.ts | ||
| package.json | ||
| push.sh | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| uninstall.sh | ||
| vite.config.ts | ||
React + TypeScript + Vite + shadcn/ui
This is a template for a new Vite project with React, TypeScript, and shadcn/ui.
Adding components
To add components to your app, run the following command:
npx shadcn@latest add button
This will place the ui components in the src/components directory.
Using components
To use the components in your app, import them as follows:
import { Button } from "@/components/ui/button"