[Vuejs]-Nuxt & Storyblok: point home page to both root "/" and "/home"?

0๐Ÿ‘

As explained in my answer here, you can use router-extras to have more configuration regarding your routes. Something like this in /pages/index.vue

<router>
{
  alias: [
    'home',
  ]
}
</router>

should do the trick.

0๐Ÿ‘

enter image description here

There is a Real Path option in storyblok that allows you to edit the root path in the visual editor, while using the /home path for storyblok.

Leave a comment