First I really have to say I love what you do with the framework amazing just started yesterday and creating my first project with nuxt.js already!
I was wondering what will be the best approach on the following? this is my default layout:
<template>
<div>
<nav-bar />
<nuxt/>
<my-footer/>
</div>
</template>
I want to reuse the layout but to add additional logic or props based on routes so it works really well for /
but when ever I go to /search
I want an extra prop for <nav-bar />
something like that:
<template>
<div>
<nav-bar :logo="true" />
<nuxt/>
<my-footer/>
</div>
</template>
Because the routes are hidden/generated I'm not really sure what the best way to approach this without duplicating the layout?
Thanks a lot
<!--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/c152">#c152</a>)</em></sub></div>