|
continuous-integration/drone/push Build is passing
Details
|
||
|---|---|---|
| app | ||
| components | ||
| hooks | ||
| lib | ||
| public | ||
| utils | ||
| .drone.yml | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| Dockerfile | ||
| README.md | ||
| components.json | ||
| eslint.config.mjs | ||
| favicon.ico | ||
| next.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.mjs | ||
| tailwind.config.tsx | ||
| tsconfig.json | ||
README.md
Next.js template
This is a Next.js template with 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 components directory.
Using components
To use the components in your app, import them as follows:
import { Button } from "@/components/ui/button";