# Nuxt route resolve

**URL:** <https://community.prismic.io/t/nuxt-route-resolve/5314>\
**Category:** Developing with Prismic\
**Tags:** nuxtjs\
**Created:** [May 11, 2021, 11:46am UTC](https://community.prismic.io/t/nuxt-route-resolve/5314 "2021-05-11T11:46:37Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [May 12, 2021, 8:57am UTC](https://community.prismic.io/t/nuxt-route-resolve/5314/7 "2021-05-12T08:57:16Z")

</div>

Hi Victor,

This is a known issue with the Route Resolver and hyphens that the team has started to fix last week.

We are tracking the issue and will update everyone below when the fix is pushed:

> [@Generate: \[error\] Cannot read property 'data' of undefined](https://community.prismic.io/t/generate-error-cannot-read-property-data-of-undefined/2385/32):
>
> Hey @maxvdschee , I discussed this with Lucie and she explained to me what's going on. So because we removed the apiOptions for the route resolver the project then falls back on the default nuxt.js route generator, which creates the routes by crawling links. So because the documents above aren't linked anywhere in your project their routes aren't generated by Nuxt.js. This was something that was overcome previously by our route resolver as it does a query server-side for all Prismic documen…

Thanks.

---

_[View the full topic](https://community.prismic.io/t/nuxt-route-resolve/5314)._
