@easy-cms/plugin-seo 0.21.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 +16 -4
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
# @easy-cms/plugin-seo
|
|
2
2
|
|
|
3
|
-
SEO for [Easy CMS](https://
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
SEO for Easy CMS: meta fields with length meters, a search preview and Generate buttons in the admin; page metadata, sitemaps, robots.txt, hreflang, JSON-LD and llms.txt for your site. Part of [Easy CMS](https://github.com/maritonx/easy-cms), the embedded, code-first headless CMS for Nuxt and Next.js.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @easy-cms/plugin-seo
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or `pnpm add`, `yarn add` or `bun add`.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
6
14
|
|
|
7
15
|
```ts
|
|
8
16
|
import { seoPlugin } from '@easy-cms/plugin-seo'
|
|
@@ -26,4 +34,8 @@ useSeoMeta(seoMeta(post, { url: `/posts/${post.slug}` }).nuxt) // Nuxt
|
|
|
26
34
|
return seoMeta(post, { config, url: `/posts/${post.slug}` }).next // Next.js generateMetadata()
|
|
27
35
|
```
|
|
28
36
|
|
|
29
|
-
|
|
37
|
+
## Links
|
|
38
|
+
|
|
39
|
+
[SEO](https://maritonx.github.io/easy-cms/guide/seo) · [Documentation](https://maritonx.github.io/easy-cms/) ([ภาษาไทย](https://maritonx.github.io/easy-cms/th/)) · [GitHub](https://github.com/maritonx/easy-cms)
|
|
40
|
+
|
|
41
|
+
MIT License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easy-cms/plugin-seo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.1",
|
|
4
4
|
"description": "SEO for Easy CMS: meta fields, length meters, a search result preview, generators and page metadata",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@easy-cms/richtext": "^0.
|
|
20
|
+
"@easy-cms/richtext": "^0.22.1"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@easy-cms/core": "^0.
|
|
23
|
+
"@easy-cms/core": "^0.22.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"happy-dom": "^20.14.5",
|
|
27
|
-
"@easy-cms/core": "^0.
|
|
28
|
-
"@easy-cms/db-sqlite": "^0.
|
|
27
|
+
"@easy-cms/core": "^0.22.1",
|
|
28
|
+
"@easy-cms/db-sqlite": "^0.22.1"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=22.12"
|