Home

Issue: 1425

Is that possible to use difference Layout between Parent and Child page?

[issue link]

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

This question is available on Nuxt.js community (#c1267)