Skip to content

Commit e8d706e

Browse files
committed
chore: update playgrounds
1 parent e4876d6 commit e8d706e

File tree

11 files changed

+415
-386
lines changed

11 files changed

+415
-386
lines changed

playgrounds/nuxt3/app.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,11 @@ const nav = [
8080
<div>
8181
<div>
8282
<SchemaOrgBreadcrumb
83-
v-slot="{ itemListElement }"
8483
as="ul"
8584
class="flex space-x-4 text-sm opacity-50 list-none"
8685
:item-list-element="breadcrumbItems"
8786
>
88-
<template v-for="(item, key) in itemListElement" :key="key">
87+
<template v-for="(item, key) in breadcrumbItems" :key="key">
8988
<li v-if="item.item">
9089
<NuxtLink :to="item.item" class="inline">
9190
{{ item.name }}

playgrounds/nuxt3/nuxt.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ export default defineNuxtConfig({
1414
'nuxt-schema-org',
1515
],
1616
schemaOrg: {
17-
loadClientSide: false,
18-
debug: true,
17+
client: false,
1918
meta: {
2019
canonicalHost: 'https://harlanshamburgers.com/',
2120
},
2221
},
2322

23+
ignore: [
24+
'nuxt-runtime',
25+
],
2426
nitro: {
2527
prerender: {
2628
crawlLinks: true,

playgrounds/nuxt3/pages/faq.vue

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,29 @@ definePageMeta({
77
<template>
88
<div>
99
<SchemaOrgWebPage type="FAQPage" />
10-
<SchemaOrgQuestion render-scoped-slots class="mb-5">
10+
<SchemaOrgQuestion class="mb-5">
1111
<template #question>
12-
<div class="font-bold mb-3 text-xl">What is the question?</div>
12+
What is the question?
1313
</template>
1414
<template #answer>
1515
Not sure
1616
</template>
17+
<div>
18+
<div class="font-bold mb-3 text-xl">What is the question?</div>
19+
<div>Not sure</div>
20+
</div>
1721
</SchemaOrgQuestion>
18-
<SchemaOrgQuestion render-scoped-slots>
22+
<SchemaOrgQuestion>
1923
<template #question>
20-
<div class="font-bold mb-3 text-xl">What about another question?</div>
24+
What about another question?
2125
</template>
2226
<template #answer>
23-
<p>Heck ye</p>
27+
Heck ye
2428
</template>
29+
<div>
30+
<div class="font-bold mb-3 text-xl">What about another question?</div>
31+
<div>Heck ye</div>
32+
</div>
2533
</SchemaOrgQuestion>
2634
</div>
2735
</template>

playgrounds/vitesse/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@vueuse/schema-org-vite": "link:../../packages/vite",
1919
"consola": "^2.15.3",
2020
"nprogress": "^0.2.0",
21-
"pinia": "^2.0.16",
21+
"pinia": "^2.0.18",
2222
"prism-theme-vars": "^0.2.4",
2323
"vue": "^3.2.37",
2424
"vue-i18n": "^9.2.2",
@@ -27,24 +27,24 @@
2727
"devDependencies": {
2828
"@antfu/eslint-config": "^0.26.1",
2929
"@iconify-json/carbon": "^1.1.7",
30-
"@intlify/vite-plugin-vue-i18n": "^6.0.0",
30+
"@intlify/vite-plugin-vue-i18n": "^6.0.1",
3131
"@types/markdown-it-link-attributes": "^3.0.1",
3232
"@types/nprogress": "^0.2.0",
33-
"@vitejs/plugin-vue": "^3.0.1",
33+
"@vitejs/plugin-vue": "^3.0.3",
3434
"@vue/test-utils": "^2.0.2",
3535
"critters": "^0.0.16",
3636
"cross-env": "^7.0.3",
37-
"eslint": "^8.20.0",
37+
"eslint": "^8.22.0",
3838
"happy-dom": "^6.0.4",
3939
"https-localhost": "^4.7.1",
40-
"markdown-it-link-attributes": "^4.0.0",
40+
"markdown-it-link-attributes": "^4.0.1",
4141
"markdown-it-prism": "^2.2.4",
42-
"pnpm": "^7.5.2",
42+
"pnpm": "^7.9.0",
4343
"typescript": "^4.7.4",
44-
"unocss": "^0.44.3",
45-
"unplugin-auto-import": "^0.9.3",
46-
"unplugin-vue-components": "^0.21.1",
47-
"vite": "^3.0.5",
44+
"unocss": "^0.45.6",
45+
"unplugin-auto-import": "^0.11.1",
46+
"unplugin-vue-components": "^0.22.4",
47+
"vite": "^3.0.7",
4848
"vite-plugin-inspect": "^0.6.0",
4949
"vite-plugin-md": "^0.20.2",
5050
"vite-plugin-pages": "^0.25.0",
@@ -53,6 +53,6 @@
5353
"vite-ssg": "^0.20.2",
5454
"vite-ssg-sitemap": "^0.3.2",
5555
"vitest": "^0.21.1",
56-
"vue-tsc": "^0.40.0"
56+
"vue-tsc": "^0.40.1"
5757
}
5858
}

0 commit comments

Comments
 (0)