{"repo":"ymmooot/nuxt-jsonld","free":true,"listed":false,"github":"https://github.com/ymmooot/nuxt-jsonld","clone":"git clone https://github.com/ymmooot/nuxt-jsonld.git","description":"A Nuxt.js module to manage JSON-LD in Vue component.","language":"TypeScript","stars":317,"topics":["jsonld","nuxt","vue","seo","nuxt-module","nuxtjs"],"license":null,"category":"ui-components","readme_excerpt":"nuxt-jsonld A Nuxt.js module to manage JSON-LD in Vue component. Please read nuxt-jsonld@v1 document if you are using Nuxt2. Installation Usage Composition API You can call useJsonld with a json object. Alternatively, you can pass a function for a reactive json. You can use useJsonld without importing, since it is provided as Nuxt auto-imports functions. Of course, you can import explicitly from #jsonld . tagPosition You can use the tagPosition: 'bodyClose' option on applicable tags to append them to the end of the tag. This option works the same as the one described in useHead. default: head Options API Make a jsonld method to your Vue components and return structured data object. Options disableOptionsAPI Options API jsonld method is implemented using global mixin. You can disable it if you don't use it. (default: false ) Or Tips Hide JSON-LD If you don't need JSON-LD tag, just return null. Multiple JSON-LD from one component You can return multiple json data as an array. Or use @graph notation. #247 Note: Safari will log an error to the console when using an array to describe multiple data. While the library functions correctly, please exercise caution if you are aggregating error logs with tools like Sentry. To avoid this issue, use @graph . #1280","default_branch":null,"files":null,"tree":[],"storefront":"/r/ymmooot","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ymmooot/nuxt-jsonld/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}