ghardin1314 / payload-nx

Demonstration of using payload with nx libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PAYLOAD - NX

Minimal example to show error loading local library into payload.config.ts

Steps to reproduce

  1. Clone library
  2. Install dependencies with yarn
  3. Start payload server with nx serve payload

You should get the error:

[20:06:11] INFO (payload): Starting Payload...
Error: Cannot find module '@cms/collections'

payload config

About

Demonstration of using payload with nx libraries


Languages

Language:TypeScript 96.1%Language:JavaScript 2.5%Language:Shell 1.4%