mirror of
https://github.com/kennethnym/aris.git
synced 2026-04-14 22:01:17 +01:00
- Upgrade typescript from ^5 to ^6 across all packages - Address TS6 breaking changes in tsconfig files: - Add explicit types array (new default is []) - Remove deprecated baseUrl (paths work without it) - Remove redundant esModuleInterop: true - Merge DOM.Iterable into DOM lib - Install @typescript/native-preview for tsgo CLI - Enable tsgo in VS Code settings Co-authored-by: Ona <no-reply@ona.com>
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"