nuxt-modules/robots

Is it possible to reference route by name instead by path?

yescapa opened this issue · 1 comments

Hi,

I was wondering if route should be referenced by path only.
Why?
Because for a website with translated url it would be way easier to reference a route by its name instead of by his path.

Hi @yescapa
Sorry for the delay
Routes must be referenced by path only. At the time of construction we do not have access to the nuxt router