Skip to content
On this page


  • Type: (input: Arrayable<UseSchemaOrgInput>) => void

    Update reactively.

    Will register input as individual nodes in the graph, handle resolving and relations.

    Note: It's recommended you use the define functions as input here as they will resolve to a ResolvedRootNodeResolver for you.

    import { useSchemaOrg } from '@vueuse/schema-org'
      defineWebPage({ name: 'Home' })


    export type UseSchemaOrgInput = ResolvedRootNodeResolver<any> | Thing | Record<string, any>
    export interface ResolvedRootNodeResolver<Input, ResolvedInput = Input> {
      resolve: (ctx: SchemaOrgContext) => ResolvedInput
      resolveAsRootNode: (ctx: SchemaOrgContext) => void