Skip to content
项目

udecode/plate-playground-template

在 GitHub 查看

关于

Plate AI template with React 19, Next 16, Tailwind 4, MCP.

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Playground Template

A Next.js template with Plate AI, plugins and components.

Features

Requirements

  • Node.js 20+
  • bun

Installation

Choose one of these methods:

1. Using CLI (Recommended)

npx shadcn@latest add @plate/editor-ai

2. Using Template

Use this template, then install dependencies:

bun install

Development

Copy the example env file:

cp .env.example .env.local

Configure .env.local:

Enter your own AI Gateway key in the editor settings to use AI. The example API routes use the caller's key.

Uploads work in local development. Before enabling production uploads, replace the development check in src/lib/uploadthing.ts with your application's session and permission checks. Add per-user upload limits.

If your application uses a shared server AI credential, authorize each request and enforce per-user usage limits before calling the provider. Keep server credentials out of client code.

Start the development server:

bun dev

Visit http://localhost:3000/editor to see the editor in action.

探索相关项目

加载中…