npm @nuxtjs/robots 4.0.0
v4.0.0

latest releases: 4.1.7, 4.1.6, 4.1.5...
2 months ago

🎉 v4: Merge with Nuxt Simple Robots

Since Nuxt 1, Nuxt Robots has been powering sites /robots.txt through simple minimal config. As robots have changed over the years, there are new requirements on how we generate these rules and talk to robots.

The v4 of Nuxt Robots is here and it's a merge of the popular nuxt-simple-robots module that was made for Nuxt v3 as is part of Nuxt SEO. It brings powerful new DX to managing the robots crawling your site, including interactive DevTools, powerful Nuxt and Nitro composables and integration with Nuxt Content and Nuxt I18n.

Migrating from nuxt-simple-robots

Please remove the dependency from your package.json and Nuxt config and then follow the Installation guide. No other breaking changes exist.

Migrating from @nuxtjs/robots v3

If you're only using the rules config, a best effort has been made for a seamless migration where no config changes are required. It's recommended you familiarizing yourself with How Nuxt Robots Works.

  • The configPath config is no longer supported. For custom runtime config you should use Nitro Hooks.
  • The rules config is deprecated but will continue to work. Any BlankLine or Comment rules will no longer work.
  • Using CleanParam, CrawlDelay and Disavow requires targeting the Yandex user agent.

   🚨 Breaking Changes

   🐞 Bug Fixes

    View changes on GitHub

Don't miss a new robots release

NewReleases is sending notifications on new releases.