> ## Documentation Index
> Fetch the complete documentation index at: https://docs.readdy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Multiple Pages

> Learn how to create and manage multiple pages in your React project

Readdy supports two different project types with different multi-page generation approaches:

* **React, Next.js Projects**: Managed as a complete project with shared components and state between pages
* **Other Projects** (HTML, Vue, etc.): Each page is managed as an independent project

<Note>
  We recommend using React Next.js project type as it provides better project cohesion and consistency between pages.
</Note>

## Check Project Type

Click the project name in the top-left corner and check the project code type in the popup window. React Next.js projects will display as `React-Next.js`

<Frame>
  <img src="https://mintcdn.com/readdy/TMeN7dKYpv-vf4Qp/images/multiple-pages-project-type-check.png?fit=max&auto=format&n=TMeN7dKYpv-vf4Qp&q=85&s=763456ff5f25b5b71766ba3595801a11" alt="" width="1446" height="758" data-path="images/multiple-pages-project-type-check.png" />
</Frame>

***

## React Next.js Projects

### Creating New Pages

**AI Conversation Generation**

Directly chat with AI, describe the page functionality and content you need, and AI will automatically generate new pages.

**Example conversation:**

```
Please help me create a user profile page that includes:
- User avatar and basic information display
- Editable personal information form
- Save and cancel buttons
- Responsive layout
```

**Page Entry Click Generation**

When clicking links or buttons on existing pages, if the target page doesn't exist, the following situations will occur:

**Situation 1: "Continue Generation" prompt appears**

* Click the prompt button, enter `OK` or describe special requirements in the dialog box, and AI will continue generating the corresponding page

<Frame>
  <img src="https://mintcdn.com/readdy/TMeN7dKYpv-vf4Qp/images/multiple-pages-continue-generation-prompt.png?fit=max&auto=format&n=TMeN7dKYpv-vf4Qp&q=85&s=d71a89c648a0d7d1f00ea2815b3f25be" alt="" width="3600" height="2294" data-path="images/multiple-pages-continue-generation-prompt.png" />
</Frame>

<br />

<Frame>
  <img src="https://mintcdn.com/readdy/TMeN7dKYpv-vf4Qp/images/multiple-pages-continue-generation-prompt-demo.png?fit=max&auto=format&n=TMeN7dKYpv-vf4Qp&q=85&s=ab58b30dc1aa57785c5b5458d965c81e" alt="" width="3602" height="2284" data-path="images/multiple-pages-continue-generation-prompt-demo.png" />
</Frame>

**Situation 2: Redirect to 404 page**

* Indicates the page hasn't been generated yet, describe page requirements in the AI dialog box on the right side

<Frame>
  <img src="https://mintcdn.com/readdy/NjypJwJxP_8VFM5C/images/multiple-pages-404-page-example.png?fit=max&auto=format&n=NjypJwJxP_8VFM5C&q=85&s=3203bf8ce38bc934ae66854d2d589e72" alt="" width="3604" height="2280" data-path="images/multiple-pages-404-page-example.png" />
</Frame>

**Example description:**

```
This is a product detail page that should include:
- Product image carousel
- Product name, price, description
- Add to cart button
- Related product recommendations
- User review section
```

### Page Navigation

There's a page address bar above the preview area. Click it to display a list of all generated pages, and click any page path to navigate.

<Frame>
  <img src="https://mintcdn.com/readdy/TMeN7dKYpv-vf4Qp/images/multiple-pages-page-navigation.png?fit=max&auto=format&n=TMeN7dKYpv-vf4Qp&q=85&s=6516b6c6676b2022b4fb14f78571d40e" alt="" width="3602" height="2296" data-path="images/multiple-pages-page-navigation.png" />
</Frame>

<Tip>
  For pages containing dynamic parameters (like `product/[id]`), specific page instances (like `product/1`, `product/2`) won't be displayed in the list. You need to click the corresponding links on the page to access these pages.
</Tip>

### 404 Page Handling

A 404 page is an error page displayed when users access non-existent pages. When encountering a 404 page in Readdy, you can chat with AI to continue generating page content, or design a user-friendly custom 404 page.

<Frame>
  <img src="https://mintcdn.com/readdy/TMeN7dKYpv-vf4Qp/images/multiple-pages-custom-404-design.png?fit=max&auto=format&n=TMeN7dKYpv-vf4Qp&q=85&s=8a743ae2d57225408055db075adb6bf1" alt="" width="3606" height="2288" data-path="images/multiple-pages-custom-404-design.png" />
</Frame>

**Custom 404 page example:**

```
Design a 404 error page that includes:
- Friendly error message text
- Simple black and white hand-drawn illustration
- Return to homepage button
```

***

## Non-Next.js Projects

### Generating New Pages

**New Page Button**

Click the **New Page** button in the top-left corner, and enter prompts and reference pages (optional) in the popup create page window.

<Frame>
  <img src="https://mintcdn.com/readdy/TMeN7dKYpv-vf4Qp/images/multiple-pages-new-page-button.png?fit=max&auto=format&n=TMeN7dKYpv-vf4Qp&q=85&s=38246dec46dec97e258e243befaf3e90" alt="" width="3616" height="2296" data-path="images/multiple-pages-new-page-button.png" />
</Frame>

<Note>
  When creating new pages, you can select existing pages as references, which helps maintain design consistency between pages.

  <Frame>
    <img src="https://mintcdn.com/readdy/TMeN7dKYpv-vf4Qp/images/multiple-pages-reference-page-selection.png?fit=max&auto=format&n=TMeN7dKYpv-vf4Qp&q=85&s=418137965480e42f65d07046db2d2a36" alt="" width="1972" height="1262" data-path="images/multiple-pages-reference-page-selection.png" />
  </Frame>
</Note>

**"Continue Generation" Button**

When clicking links but the target page doesn't exist, the system will display a "Continue Generation" prompt. Click it and chat with AI to describe page requirements to generate new pages.

<Frame>
  <img src="https://mintcdn.com/readdy/NjypJwJxP_8VFM5C/images/multiple-pages-continue-generation-non-nextjs.png?fit=max&auto=format&n=NjypJwJxP_8VFM5C&q=85&s=5f7c1e2e0a1183a70da57f5a02bea206" alt="" width="2360" height="1496" data-path="images/multiple-pages-continue-generation-non-nextjs.png" />
</Frame>

### Page Linking

Use the **Selector tool** to select elements where you want to add links, choose the **Link** option in the properties panel, and select an existing target page from the list.

<Frame>
  <img src="https://mintcdn.com/readdy/TMeN7dKYpv-vf4Qp/images/multiple-pages-link-selector-tool.png?fit=max&auto=format&n=TMeN7dKYpv-vf4Qp&q=85&s=c13b43f07cb7d53c4a6dce493c1bb382" alt="" width="3358" height="2166" data-path="images/multiple-pages-link-selector-tool.png" />
</Frame>

***

## Why Can't Multiple Pages Be Generated Directly?

Main reasons:

* **AI Technical Limitations**: The model's context window is limited and cannot generate overly long content at once.
* **Quality Control**: Batch-generated pages may not match actual requirements, with high modification costs
* **Controllability**: Single-page generation allows you to better control that each page's content matches your expectations, avoiding generating many pages that don't meet your expectations, which would be problematic

<Warning>
  To ensure project quality and development efficiency, we strongly recommend using **one page or one feature at a time** generation approach.
</Warning>
