---
name: php186-skill-79500
description: "HeadstartWP 是 10up 为使用 Next.js 构建无头 WordPress 站点而开发的开源框架。它结合了 WordPress 插件、JavaScript 包以及用于路由、预览、内容获取、SEO 和多语言交付的文档化模式，使开发者能够更快地搭建或扩展现代 WordPress 前端。"
---

# HeadstartWP 无头 WordPress 和 Next.js 框架

## HeadstartWP 无头 WordPress 和 Next.js 框架

 

HeadstartWP is 10up's open-source framework for building headless WordPress sites with Next.js. It combines a WordPress plugin, JavaScript packages, and documented patterns for routing, previews, content fetching, SEO, and multilingual delivery so an agent can scaffold or extend modern WordPress frontends faster.

 

## Installation

 

Use the upstream install or setup path that matches your environment:

 

- npm install
- npm run start

 

Requirements and caveats from upstream:

 

- The docs site lives in the docs directory. It is currently not part of the monorepo/workspace setup so npm install must be executed in the docs dir. To run the docs site locally run the following commands:

 

Basic usage or getting-started notes:

 

- See our Getting Started guide.
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/10up/headstartwp/HEAD/README.md
