Robots
Getting Started

Install Nuxt Simple Robots

Get started with nuxt-simple-robots by installing the dependency to your project.

Using Nuxt SEO? This module is already installed for you.

Setup

  1. Install nuxt-simple-robots dependency to your project:
pnpm i -D nuxt-simple-robots
  1. Add it to your modules section in your nuxt.config:
nuxt.config.ts
export default defineNuxtConfig({
  modules: ['nuxt-simple-robots']
})

Staging / Testing Environments

Important

If you're using Preview / Staging / Testing environments you will need to implement extra configuration. This is important to avoid duplicate content issues and these environments appearing in Google searches.

Please read the Disabling Indexing guide for more information.

If you only have a production environment, you can skip this step.

Next Steps

The module is now installed and configured!