simple-robots
Tame the robots crawling and indexing your Nuxt site.
nuxt-simple-robots
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
- 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
- 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