UNPKG

nuxt-schema-org

Version:

The quickest and easiest way to build Schema.org graphs for Nuxt.

72 lines (49 loc) • 2.71 kB
<h1>nuxt-schema-org</h1> [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![License][license-src]][license-href] [![Nuxt][nuxt-src]][nuxt-href] Nuxt Schema.org lets you generate Schema.org graphs which can help your site appear with rich search results. New to Schema.org or SEO? Check out the [Schema.org](https://nuxtseo.com/learn/mastering-meta/schema-org) guide to learn more about why you might want to use this module. <p align="center"> <table> <tbody> <td align="center"> <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> 🐦 • Join <a href="https://discord.gg/275MBUBvgP">Discord</a> for help</sub><br> </td> </tbody> </table> </p> ## Features - šŸ˜Ž Simple API based on [Google](https://developers.google.com/search/docs/advanced/structured-data/search-gallery) and [Yoast](https://developer.yoast.com/features/schema/overview) best practices - šŸ§™ 30+ Nodes with automated relations, date, URL resolving and more for best practice Schema.org - šŸ’” Simple global meta provides for minimal boilerplate - 🌳 Minimal code, optimised for tree-shaking and SSR - Nuxt Dev Tools integration ## Installation Install `nuxt-schema-org` dependency to your project: ```bash npx nuxi@latest module add schema-org ``` šŸ’” Need a complete SEO solution for Nuxt? Check out [Nuxt SEO](https://nuxtseo.com). ## Documentation [šŸ“– Read the full documentation](https://nuxtseo.com/schema-org) for more information. ## Demos - [Nuxt Schema.org - StackBlitz](https://stackblitz.com/edit/nuxt-starter-z9np1t?file=package.json) ## Sponsors <p align="center"> <a href="https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg"> <img src='https://raw.githubusercontent.com/harlan-zw/static/main/sponsors.svg'/> </a> </p> ## License Licensed under the [MIT license](https://github.com/harlan-zw/nuxt-schema-org/blob/main/LICENSE.md). <!-- Badges --> [npm-version-src]: https://img.shields.io/npm/v/nuxt-schema-org/latest.svg?style=flat&colorA=18181B&colorB=28CF8D [npm-version-href]: https://npmjs.com/package/nuxt-schema-org [npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-schema-org.svg?style=flat&colorA=18181B&colorB=28CF8D [npm-downloads-href]: https://npmjs.com/package/nuxt-schema-org [license-src]: https://img.shields.io/github/license/harlan-zw/nuxt-schema-org.svg?style=flat&colorA=18181B&colorB=28CF8D [license-href]: https://github.com/harlan-zw/nuxt-schema-org/blob/main/LICENSE.md [nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js [nuxt-href]: https://nuxt.com