harlan-zw / nuxt-schema-org

The quickest and easiest way to build Schema.org graphs for Nuxt.
https://nuxtseo.com/schema-org
147 stars 15 forks source link

`InLanguage` is not resolved for `SchemaOrgArticle` #29

Closed Barbapapazes closed 1 year ago

Barbapapazes commented 1 year ago

Describe the bug

Hello,

In the documentation you said that the article must inherit form default config ,https://unhead-schema-org.harlanzw.com/schema/article#defaults. But when using it in a nuxt project, it does not work.

For the reproduction:

  1. Install deps with pnpm install
  2. Go to /blog/2023-08-15-h3-towards-the-edge-of-the-web
  3. Inspect page and the section #article in application/json+ld

Reproduction

https://github.com/unjs/website/pull/38

System / Nuxt Info

No response

harlan-zw commented 1 year ago

This is fixed in v3 :)