Skip to content

Commit e6b812f

Browse files
committed
chore: stub vite plugin to fix nuxt in CI
1 parent 90cac58 commit e6b812f

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The quickest and easiest way to build Schema.org graphs for Vue.
2020
<tbody>
2121
<td align="center">
2222
<img width="830" height="0" /><br>
23-
<i>Status:</i> <b>Early Access</b> <br>
23+
<i>Status:</i> <b>Beta</b> <br>
2424
<sup> Please report any issues 🐛</sup><br>
2525
<sub>Made possible by my <a href="https://github.com/sponsors/harlan-zw">Sponsor Program 💖</a><br> Follow me <a href="https://twitter.com/harlan_zw">@harlan_zw</a> 🐦</sub><br>
2626
<img width="830" height="0" />
@@ -43,13 +43,11 @@ Implementing Schema.org is the easiest way to opt-in to [Google Rich Results](ht
4343
The improved visibility of Rich Results has been shown
4444
to [improve click-through rates](https://simplifiedsearch.net/case-study-the-impact-of-rich-results-on-impressions-clicks-and-organic-traffic/).
4545

46-
Existing solutions to add Schema.org ld+json script tags work.
47-
48-
However, implementing and maintaining Schema has issues:
46+
Existing solutions to add Schema.org ld+json script tags work. However, implementing and maintaining Schema has issues:
47+
- `@id` relationships and URL references are brittle
4948
- Option paralysis in which Schema to implement and how
5049
- Limited and confusing documentation on best practices
5150
- Nested Schema adding unnecessary kB to page weight
52-
- Managing `@id` and `url` references are brittle
5351

5452
This package aims to solve all of these issues,
5553
following the best practices from SEO giant Yoast and Google's own documentation.

playgrounds/nuxt3/nuxt.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ const __dirname = dirname(fileURLToPath(import.meta.url))
88
export default defineNuxtConfig({
99
alias: {
1010
'nuxt-schema-org': resolve(__dirname, '../../packages/nuxt/src/module.ts'),
11+
'@vueuse/schema-org-vite': resolve(__dirname, '../../packages/vite/src/index.ts'),
1112
},
1213
modules: [
1314
'nuxt-windicss',
1415
'nuxt-schema-org',
1516
],
1617
schemaOrg: {
17-
client: false,
1818
meta: {
19-
canonicalHost: 'https://harlanshamburgers.com/',
19+
host: 'https://harlanshamburgers.com/',
2020
},
2121
},
2222

0 commit comments

Comments
 (0)