This is a feature-rich Next.js project template, supercharged with Shadcn UI, TypeScript, Tailwind CSS, and more, ready for you to build amazing applications! 🚀
To get your project up and running:
-
Clone the template (or use it as a template on GitHub).
-
Install dependencies using your preferred package manager:
pnpm install # or yarn install # or npm install # or bun install
-
Run the development server:
pnpm dev # or yarn dev # or npm run dev # or bun dev
Open http://localhost:3000 with your browser to see the initial page.
You can start editing the main page by modifying src/app/page.tsx
. The page auto-updates as you edit the file. 🪄
This template uses next/font
to automatically optimize and load Geist, a versatile font family.
This project comes pre-configured with a modern development stack:
- 🔷 TypeScript
- 💨 Tailwind CSS (v4)
- 🎨 Shadcn UI (for beautiful, accessible UI components)
- ESLint & Prettier (for code linting & formatting)
- 🤖 Cursor AI Rules (for enhanced AI-assisted development)
Keep your code clean and consistent:
- Lint your code:
pnpm lint
(oryarn lint
/npm run lint
) - Automatically fix linting issues:
pnpm lint:fix
- Format your code:
pnpm format
Shadcn UI components are added directly to your project via its CLI.
To add a new component (e.g., a button
):
pnpm dlx shadcn@latest add button
Dive deeper with the .cursor/rules/shadcn-ui-installation.mdc
rule for more details.
Enhance your development workflow with Cursor AI Rules located in the .cursor/rules/
directory. These rules guide the AI, ensuring it understands your project's conventions and structure.
Key rules included:
project-structure.mdc
: 🗺️ Overview of the project's file and directory layout.shadcn-ui-installation.mdc
: 🛠️ Instructions for adding and managing Shadcn UI components.nextjs-conventions.mdc
: 📜 Best practices for Next.js development within this template.
Leverage these rules in Cursor chat (e.g., by typing @project-structure
) or let the AI use them automatically.
To learn more about the power of Next.js, check out these resources:
- Next.js Documentation - Dive into Next.js features and its API.
- Learn Next.js - An interactive tutorial to master Next.js.
The Next.js GitHub repository is also a great place for community support and contributions.
When you're ready to share your creation with the world, the Vercel Platform (from the creators of Next.js) offers a seamless deployment experience.
For more deployment options and details, see the Next.js deployment documentation.