@nuxtjs/robots

NPM version NPM Downloads GitHub stars

Tame the robots crawling and indexing your Nuxt site with ease.

For `@nuxtjs/robots` v3.0 usage, please use the [v3.x](https://github.com/nuxt-modules/robots/tree/v3.x) tag.


Status: v4.0 Merged with Nuxt Simple Robots
Please report any issues 🐛
Made possible by my Sponsor Program 💖
Follow me @harlan_zw 🐦 • Join Discord for help

## Features - 🤖 Merge in your existing robots.txt or programmatically create a new one - 🗿 Automatic `X-Robots-Tag` header and `` meta tag - 🔄 Integrates with route rules and runtime hooks - 🔒 Disables non-production environments from being indexed - Solves common issues and best practice default config ## Installation > For `@nuxtjs/robots` v3.0 usage, please use the [v3.x](https://github.com/nuxt-modules/robots/tree/v3.x) tag. Install `@nuxtjs/robots` dependency to your project: ```bash npx nuxi@latest module add robots ``` # Documentation [📖 Read the full documentation](https://nuxtseo.com/robots) for more information. ## Demos - [Default - StackBlitz](https://stackblitz.com/edit/nuxt-starter-zycxux?file=public%2F_robots.txt) ## Sponsors

## License MIT License © 2022-PRESENT [Harlan Wilton](https://github.com/harlan-zw)