nuxt-simple-robots
v4.0.0-rc.17
Published
Tame the robots crawling and indexing your Nuxt site with ease.
Downloads
101,201
Readme
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
- Install
nuxt-simple-robots
dependency to your project:
npx nuxi@latest module add simple-robots
- Add it to your
modules
section in yournuxt.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