nuxt-modules / robots

Tame the robots crawling and indexing your Nuxt site.
https://nuxtseo.com/robots
412 stars 30 forks source link

Setting options for index & follow #38

Closed AdamBD closed 3 years ago

AdamBD commented 4 years ago

Hello,

I want to generate a simple robots.txt with the index and follow lines listed.

From reading the module its not clear which options property type is correct or what are the differences in execution of you choose either: object, array or function. How are they used differently?

Also under the available options I see listed it doesnt note either index or follow.

Does someone have an example of the best way to set this up?

ricardogobbosouza commented 3 years ago

Hi @AdamBD I don't know if I understood your question about index and follow. About using object, array, function depends on your use case.