I am a beginner in Nuxt.js and I am converting a project of Vue to Nuxt.js and I wanted to use two layouts (the default one and another) on one page. The logic is this:
The first layout is the (default) or header which is on all pages and the second layout is the settings bar.
In settings page i have 3 routes (see project structure here: image):
- settings/avatar
- settings/account
- settings/about
I want the Settings bar to be the same for three routes. I can add the Settings bar to all three child pages like: layout: 'settings-bar' but then could not set the Header layout. In my Vue project i only used in settings page: Settings bar component and below <router-view></router-view> to change the components. Any idea how i can do this? in docs can not find anything. See other screenshots here to better understand:
