Let's say if i have
/profile/
and
/profile/user1
So, my page folder should be look like this
| page
|-- profile.vue
|-- profile
|----- index.vue
|----- user1.vue
the profile.vue
i have put <nuxt-child/>
and it will automatically call content in the /profile/index.vue
So, Is that possible to use difference Layout between /profile/index
and /profile/user1
page?
I have define difference layout but it still not work
export default {
layout: 'user'
}
Thank you
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1267">#c1267</a>)</em></sub></div>