https://github.com/udecode/plate-template
Minimal Plate template with React 19, Next 15, TailwindCSS 4.
https://github.com/udecode/plate-template
editor nextjs plate radix-ui shadcn-ui slate tailwindcss
Last synced: 7 months ago
JSON representation
Minimal Plate template with React 19, Next 15, TailwindCSS 4.
- Host: GitHub
- URL: https://github.com/udecode/plate-template
- Owner: udecode
- License: mit
- Created: 2023-09-14T05:26:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-20T11:53:52.000Z (about 1 year ago)
- Last Synced: 2025-04-12T04:46:15.971Z (11 months ago)
- Topics: editor, nextjs, plate, radix-ui, shadcn-ui, slate, tailwindcss
- Language: TypeScript
- Homepage: https://template.platejs.org
- Size: 990 KB
- Stars: 41
- Watchers: 1
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-shadcnui - Github
README
# Playground Template
A minimal template for building rich-text editors with [Plate](https://platejs.org/) and Next.js 15.
## Features
- Next.js 15 App Directory
- [Plate](https://platejs.org/) editor
- [shadcn/ui](https://ui.shadcn.com/)
- [MCP](https://platejs.org/docs/components/mcp)
## Requirements
- Node.js 20+
- pnpm 9+
## Installation
Choose one of these methods:
### 1. Using CLI (Recommended)
```bash
npx shadcn@latest add https://platejs.org/r/editor-basic
```
### 2. Using Template
[Use this template](https://github.com/udecode/plate-template/generate), then install dependencies:
```bash
pnpm install
```
## Development
```bash
pnpm dev
```
Visit http://localhost:3000/editor to see the editor in action.
## Upgrade
Using the CLI, you can upgrade to `editor-ai` by running:
```bash
npx shadcn@latest add https://platejs.org/r/editor-ai -o
```