@easy-cms/nuxt 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 +14 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
# @easy-cms/nuxt
|
|
2
2
|
|
|
3
|
-
Nuxt 4 module for [Easy CMS](https://github.com/maritonx/easy-cms).
|
|
3
|
+
Nuxt 4 module for Easy CMS: the REST API, the admin UI and a typed `useEasyCMS()` inside your Nuxt app. Part of [Easy CMS](https://github.com/maritonx/easy-cms), the embedded, code-first headless CMS for Nuxt and Next.js.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
4
6
|
|
|
5
7
|
```bash
|
|
6
|
-
|
|
8
|
+
npm install @easy-cms/nuxt @easy-cms/core @easy-cms/db-sqlite
|
|
7
9
|
```
|
|
8
10
|
|
|
11
|
+
Or `pnpm add`, `yarn add` or `bun add`.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
9
15
|
```ts
|
|
10
16
|
// nuxt.config.ts
|
|
11
17
|
export default defineNuxtConfig({
|
|
@@ -41,3 +47,9 @@ With `easy-cms.config.ts` in the project root you get:
|
|
|
41
47
|
paths and the migrations folder resolve from the working directory).
|
|
42
48
|
- The module tells Nitro to ship files the database adapter loads dynamically (libsql's native
|
|
43
49
|
binary), so `.output` runs on its own. Build on the same OS/architecture you deploy to.
|
|
50
|
+
|
|
51
|
+
## Links
|
|
52
|
+
|
|
53
|
+
[Nuxt](https://maritonx.github.io/easy-cms/guide/nuxt) · [Documentation](https://maritonx.github.io/easy-cms/) ([ภาษาไทย](https://maritonx.github.io/easy-cms/th/)) · [GitHub](https://github.com/maritonx/easy-cms)
|
|
54
|
+
|
|
55
|
+
MIT License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easy-cms/nuxt",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.1",
|
|
4
4
|
"description": "Nuxt module for Easy CMS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@nuxt/kit": "^4.5.2",
|
|
22
22
|
"h3": "^1.15.11",
|
|
23
|
-
"@easy-cms/admin": "^0.22.
|
|
23
|
+
"@easy-cms/admin": "^0.22.1"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"nuxt": "^4.0.0",
|
|
27
|
-
"@easy-cms/core": "^0.22.
|
|
27
|
+
"@easy-cms/core": "^0.22.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@nuxt/schema": "^4.5.2",
|
|
31
31
|
"@nuxt/test-utils": "^4.3.2",
|
|
32
32
|
"nuxt": "^4.5.2",
|
|
33
33
|
"vue": "^3.5.0",
|
|
34
|
-
"@easy-cms/core": "^0.22.
|
|
35
|
-
"@easy-cms/db-sqlite": "^0.22.
|
|
34
|
+
"@easy-cms/core": "^0.22.1",
|
|
35
|
+
"@easy-cms/db-sqlite": "^0.22.1"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|