0👍
✅
You need to put the component code in q-page-container
. It will display in the body area.
eg.
<q-page-container>
<router-view/>
<div v-if="selected == 'Some Text'">
<SomeNewVue />
</div>
</q-page-container>
refer this – https://codepen.io/Pratik__007/pen/YzyXJYb?editable=true&editors=101%3Dhttps%3A%2F%2Fquasar.dev%2Flayout%2Fdrawer
Source:stackexchange.com