nuxt-schema-org 0.2.1 → 0.4.2
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/dist/module.json +1 -1
- package/dist/runtime/plugin.mjs +2 -1
- package/package.json +4 -4
package/dist/module.json
CHANGED
package/dist/runtime/plugin.mjs
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { createSchemaOrg } from "@vueuse/schema-org";
|
|
2
2
|
import { defineNuxtPlugin } from "#app";
|
|
3
|
-
import { useRoute } from "#imports";
|
|
3
|
+
import { useRoute, watchEffect } from "#imports";
|
|
4
4
|
import meta from "#build/schemaOrg.config.mjs";
|
|
5
5
|
export default defineNuxtPlugin((nuxtApp) => {
|
|
6
6
|
const head = nuxtApp.vueApp._context.provides.usehead;
|
|
7
7
|
const schemaOrg = createSchemaOrg({
|
|
8
8
|
useRoute,
|
|
9
9
|
head,
|
|
10
|
+
provider: "nuxt",
|
|
10
11
|
...meta.config
|
|
11
12
|
});
|
|
12
13
|
nuxtApp.vueApp.use(schemaOrg);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-schema-org",
|
|
3
|
-
"version": "0.2
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Nuxt module for @vueuse/schema-org",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"schema-org",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"url": "https://github.com/vueuse/schema-org/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@nuxt/kit": "
|
|
39
|
-
"@vueuse/schema-org": "0.2
|
|
38
|
+
"@nuxt/kit": "3.0.0-rc.2",
|
|
39
|
+
"@vueuse/schema-org": "0.4.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@nuxt/module-builder": "latest",
|
|
43
|
-
"nuxt": "^3.0.0-rc.
|
|
43
|
+
"nuxt": "^3.0.0-rc.2"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "nuxi prepare ../../playgrounds/nuxt3 && nuxt-module-build",
|