Skip to content

PayloadCMS guide is outdated #14606

Description

@ArmandPhilippot

📚 Subject area/topic

CMS guide

📋 Page(s) affected (or suggested, for new content)

https://docs.astro.build/en/guides/cms/payload/

📋 Description of content that is out-of-date or incorrect

The PayloadCMS guide is probably using Payload v2 looking at the dates in the GitHub history. The current version is v3.

When we follow their instructions to add Payload to an existing Astro project, we hit issues from the first snippet in Configuring Astro for your PayloadCMS collection:

Cannot find module 'payload/types' or its corresponding type declarations.ts(2307)

From a quick look I don't see a migration guide in Payload docs. This means, it could be easier to create a new app from scratch and see how to integrate it with Astro. Then, rewrite the guide.

In the meantime, if anyone knows which version of Payload the guide uses, we could specify that so users don't get surprised.

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions