Getting Started

Install Nuxt

Get started with Nuxt by installing the dependency to your project.


SSR is highly recommended for Nuxt

Ensure you haven't disabled SSR using ssr: false in your nuxt.config.


  1. Install nuxt-schema-org dependency to your project:
npx nuxi@latest module add schema-org
  1. Configure your site details.

It's recommended to set a canonical site URL to avoid duplicate content issues, as well as a site name for better default configuration.

The easiest way to add it in your nuxt.config:

export default defineNuxtConfig({
  site: {
    url: '',
    name: 'My Website',

To learn about other ways to configure your site config, head over to the Nuxt Site Config docs.

Next steps

That's it!

By default, the module will insert default nodes for you, learn more about the Default setup.