Hi @Harrison,
After taking a look at the code, I can’t say I fully understand why it is setup like this but when you have dynamic pages (like your _.vue
), the Nuxt crawler for SSG needs either to find a <nuxt-link>
to those dynamic pages in other to generate them or you need to specify them inside the generate.routes
property in nuxt.config.js
. More info about this here : Nuxt - The generate Property. Generally, people tend to have an index.vue
page, and then a _slug.vue
for dynamic ones. That could probably work for your use case.
Fixing this would allow your pages HTML to be generated at build time instead of on the client side. The is important for Snipcart’s HTML crawler since it can then find your snipcart buttons.
That being said, you can also use the JSON crawler like mentioned before and not have to worry about any of that.