create-easy-cms
v0.32.0
Published
Add Easy CMS to a Nuxt or Next.js project
Readme
create-easy-cms
Adds Easy CMS to a Nuxt or Next.js project, or creates a standalone Easy CMS server in a new directory. Part of Easy CMS, the embedded, code-first headless CMS for Nuxt and Next.js.
Usage
npm create easy-cms@latest [dir]Or pnpm create easy-cms, yarn create easy-cms or bun create easy-cms.
It writes easy-cms.config.ts, adds a random EASY_CMS_SECRET to .env, updates
.gitignore, wires up the Nuxt module or the Next.js route handlers and config, and installs the
packages. Running it again is safe.
| Option | |
|---|---|
| --db sqlite\|postgres | The database (asks when not given) |
| --pm npm\|pnpm\|yarn\|bun | The package manager. Default: the project's (packageManager, then the lockfile), else the one you ran it with |
| --standalone | A standalone server even inside a Nuxt or Next.js project |
| --yes | Accept the defaults without asking |
| --skip-install | Only write files |
Links
Getting started · Documentation (ภาษาไทย) · GitHub
MIT License
