npm version npm downloads License Nuxt
Nuxt Robots is a module for configuring the robots crawling your site with minimal config and best practice defaults.
The core feature of the module is:
- Telling crawlers which paths they can and cannot access using a robots.txt file.
- Telling search engine crawlers what they can show in search results from your site using a
<meta name="robots" content="index">X-Robots-TagHTTP header.
New to robots or SEO? Check out the Controlling Web Crawlers guide to learn more about why you might need these features.
- π€ Merge in your existing robots.txt or programmatically create a new one
- πΏ Automatic
X-Robots-Tagheader and<meta name="robots" ...>meta tag - π΅οΈ Bot detection with optional fingerprinting
- π Disables non-production environments from being indexed
π‘ Using Nuxt 2? Please use the v3.x tag.
Install @nuxtjs/robots dependency to your project:
npx nuxi@latest module add robots
π‘ Need a complete SEO solution for Nuxt? Check out Nuxt SEO.
π Read the full documentation for more information.
Licensed under the MIT license.