Getting Started
Installation
Clone the template, install dependencies, and start the dev server.
Requirements
- Node.js 20.9 or later
pnpm9 or later
Install
Clone the repository and install dependencies:
git clone https://github.com/acme/docs-template.git my-docs
cd my-docs
pnpm installDevelop
Start the development server. The site runs at http://localhost:3000.
pnpm devScripts
| Command | Description |
|---|---|
pnpm dev | Start the dev server with Turbopack. |
pnpm build | Create a production build. |
pnpm lint | Run ESLint (max 500 lines/file, complexity ≤ 10). |
pnpm typecheck | Type-check with strict TypeScript. |
pnpm preflight | Typecheck, lint, and build in one pass. |