1. nuxt-simple-robots
Tame the robots crawling and indexing your Nuxt site with ease.
nuxt-simple-robots
Package: nuxt-simple-robots
Created by: harlan-zw
Last modified: Wed, 10 Apr 2024 05:45:13 GMT
Version: 4.0.0-rc.17
License: MIT
Downloads: 104,127
Repository: https://github.com/harlan-zw/nuxt-simple-robots

Install

npm install nuxt-simple-robots
yarn add nuxt-simple-robots

nuxt-simple-robots

NPM version NPM Downloads GitHub 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:
 npx nuxi@latest module add 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

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin