Skip to content

Tag: nuxt.js

Catch all routes in NuxtJS pages routing

I have this page route in NuxtJS: pages/_book.vue So that when I go to localhost:3000/my-book, params.book is equal to “my-book” as expected. However some books are nested deep inside several directories. I want to get the full route as params.book. These routes should be separated by “/&#82…

Nuxt: Dynamic head / meta title is undefined on ssr

I have a nuxt project, where the meta title and description comes (from nuxt/content). The async fetch for the data is made in index and received in a sub component via a getter. On generate, the meta tags are there but on ssr not :/ I tried it with async and await, but I still get the error Uncaught (in