Switching to the new Nuxt based full static will not generate all pages. If I don't use the apiOptions I will not get the full 87 pages, and it will just generate 49 pages. Overview pages like /cases will not have any links going to the underlaying pages.
That's strange because like I was saying the apiOptions doesn't actually generate the routes/pages, that's done by the Nuxt plugin. Do you know which pages in your project aren't being generated?
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 documents and creates the routes based on this. The issue here obviously being that this broke for you because of the hyphen in the parent folder.
So we have 2 options here:
You can wait until sometime next week for the team to fix the hyphen '-' issue in the route resolver so you can use this.
You could write a custom function in your nuxt.config which queries all the docs in your Prismic repo and generates your routes based on this: The generate Property - NuxtJS
Thanks for looking into it. Option 1 sounds good to me! It's just a week, so that's not really a big deal; I'm already pleased this can be fixed on such short notice
He Phil,
If the fix is just a merge away I would rather wait for a solid fix. But if this is going to take a month I will start looking in the workaround.