Nuxt UI Pro v1.0 is out with 50+ Vue components.

simple-robots
simple-robots

Tame the robots crawling and indexing your Nuxt site.

nuxt-simple-robots

NPM versionNPM DownloadsGitHub stars

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


Status: v3 Released ๐ŸŽ‰
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 name="robots" ...> 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

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

Documentation

๐Ÿ“– Read the full documentation for more information.

Demos

Sponsors

License

MIT License ยฉ 2022-PRESENT Harlan Wilton