Installation
Learn how to get started with this documentation template.
Prerequisites
Before you start, make sure you have the following installed:
- Node.js 18.20.8 or higher
- pnpm 8.0.0 or higher
- Git (optional, but recommended)
Installation
The fastest way to get started is using the following commands:
git clone https://github.com/AREA44/astro-shadcn-ui-template.git my-docs
cd my-docs
pnpm install
pnpm dev
Manual Setup
If you prefer to set up your project manually, follow these steps:
-
Create a new Astro project:
pnpm create astro@latest my-docs
-
Add the required dependencies:
pnpm add @astrojs/react @astrojs/tailwind tailwindcss pnpm add -D @types/react @types/react-dom
-
Install shadcn-ui components:
pnpm add @radix-ui/react-icons class-variance-authority clsx tailwind-merge