Scaffolds a new Payload project or adds Payload to an existing Next.js or TanStack app
Basepl
Command-line tool that copies ready-made Payload fields and blocks into your project
Installation
pnpm add @basepl/cli About
basepl is a command-line tool that adds ready-made fields, blocks and templates to an existing Payload project. Instead of writing a custom field or a layout block from scratch, you pick the pieces you need and the tool places their configuration and React components where your Payload code expects them.
Each component comes unstyled and is copied into your own codebase, so you can edit it freely and it does not turn into a locked dependency. If the project has no UI kit set up yet, the tool offers to install one first. Components are fetched over the network, so an internet connection is needed when you add them.
Package info
- Package name
@basepl/cli- Latest version
1.1.1- Unpacked size
- 62 kB
- License
- MIT
- Weekly downloads
- 4
- Last publish
- Jan 11, 2025
Similar tools
More in CLI & scaffoldingAutomated code transforms that move a Payload project past breaking changes
CLI and registry that installs wired Payload blocks into Next.js projects
Migrates WordPress posts, pages, media, SEO and redirects into Payload
Migrates WordPress sites to Payload from a WXR export file
Converts WordPress WXR exports into Astro, Next.js, Payload or Pruvious projects