Astro

Runs an Astro frontend and Payload CMS on one Node server

Community 3 5/wk MIT v0.0.4

Installation

pnpm add astro-payload-plugin

About

Astro Payload runs an Astro website and a Payload CMS on the same Node server, so Astro pages can read content directly through Payload without a separate CMS process or an extra HTTP layer. Astro renders the pages while the Payload admin panel and its API stay available on their usual routes.

In development, the Astro dev server runs behind Payload's Express app, so one process serves both the site and the admin panel. In production, Astro's built pages and static files are served next to Payload, and a custom 404 page is used when the Astro project provides one. It requires Astro's hybrid output mode with the Node adapter.

Package info

Package name
astro-payload-plugin
Latest version
0.0.4
Unpacked size
19 kB
License
MIT
Weekly downloads
5
Last publish
Oct 10, 2023

Similar plugins

More in Integrations

Creates and syncs Dub shortlinks for Payload documents as they are published

Search Unsplash, Pexels and Pixabay stock images and videos from upload collections

Syncs Payload collections with Stripe customers and products, and handles Stripe webhooks

Sends localized Payload fields to Crowdin and writes translations back

Stores Payload collections, globals and versions in Amazon DynamoDB

Logs Payload users in from cookies set by an external SSO system