Files
payload/examples/remix
Marwin Hormiz 58666fbdef examples: added missing sharp dependency to the remix website package (#10931)
When the sharp module is not added to the website package, you get a
reference error when trying to start a production build. This is solved
by just installing the sharp module.

Solves #10929

Co-authored-by: Marwin Hormiz <marwinhormiz@duobit.se>
2025-02-02 21:46:55 +02:00
..

Payload Payload + Remix Example

This example is built based on an old version of the website template.

The objective is to show to use the Local API with Remix framework. This is achieved through monorepo with 2 apps: payload - Next.js admin panel and definition of the Payload config. website - Remix website, imports the payload config from payload

## Setup

  1. cp ./payload/.env.example ./payload./.env (copy the payload .env.example file to .env)
  2. cp ./website/.env.example ./website/.env (copy the website .env.example file to .env)
  3. pnpm install
  4. pnpm run dev:payload
  5. pnpm run dev:website (in a separate terminal)