create-easy-cms 0.22.0 → 0.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,14 +1,31 @@
|
|
|
1
1
|
# create-easy-cms
|
|
2
2
|
|
|
3
|
-
Adds
|
|
3
|
+
Adds Easy CMS to a Nuxt or Next.js project, or creates a standalone Easy CMS server in a new
|
|
4
|
+
directory. Part of [Easy CMS](https://github.com/maritonx/easy-cms), the embedded, code-first
|
|
5
|
+
headless CMS for Nuxt and Next.js.
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
4
8
|
|
|
5
9
|
```bash
|
|
6
|
-
npm create easy-cms@latest [dir]
|
|
10
|
+
npm create easy-cms@latest [dir]
|
|
7
11
|
```
|
|
8
12
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
Or `pnpm create easy-cms`, `yarn create easy-cms` or `bun create easy-cms`.
|
|
14
|
+
|
|
15
|
+
It writes `easy-cms.config.ts`, adds a random `EASY_CMS_SECRET` to `.env`, updates
|
|
16
|
+
`.gitignore`, wires up the Nuxt module or the Next.js route handlers and config, and installs the
|
|
17
|
+
packages. Running it again is safe.
|
|
18
|
+
|
|
19
|
+
| Option | |
|
|
20
|
+
|---|---|
|
|
21
|
+
| `--db sqlite\|postgres` | The database (asks when not given) |
|
|
22
|
+
| `--pm npm\|pnpm\|yarn\|bun` | The package manager. Default: the project's (`packageManager`, then the lockfile), else the one you ran it with |
|
|
23
|
+
| `--standalone` | A standalone server even inside a Nuxt or Next.js project |
|
|
24
|
+
| `--yes` | Accept the defaults without asking |
|
|
25
|
+
| `--skip-install` | Only write files |
|
|
26
|
+
|
|
27
|
+
## Links
|
|
28
|
+
|
|
29
|
+
[Getting started](https://maritonx.github.io/easy-cms/guide/getting-started) · [Documentation](https://maritonx.github.io/easy-cms/) ([ภาษาไทย](https://maritonx.github.io/easy-cms/th/)) · [GitHub](https://github.com/maritonx/easy-cms)
|
|
12
30
|
|
|
13
|
-
|
|
14
|
-
Nuxt module or the Next.js route handlers and config, and installs the packages. Safe to run again.
|
|
31
|
+
MIT License
|