left drawer panel in single file component



  • Anyone has a working left drawer panel in a single file component?

    <template>
      <q-layout ref="layout"
                :left-breakpoint=0>
        <q-scroll-area slot="left" style="width: 80%; height: 100%">
            <left-panel></left-panel>
        </q-scroll-area> 
    etc
    

    My questions:

    1. I do not quite get why I can not include the q-scroll-area into the left-panel component I have…
    2. open/ close will work via vuex…, an example how to do this?