Newer
Older

Дмитрий Малюгин
committed
import 'primeicons/primeicons.css';

Дмитрий Малюгин
committed
const visible = ref<boolean>(false);

Дмитрий Малюгин
committed
<router-view />
<div class="fixed top-0 left-0">
<Button
@click.prevent="visible = !visible"
label="Menu"
iconPos="top"
icon="pi pi-bars"
severity="secondary"
/>
</div>
<Drawer v-model:visible="visible">
<template #container="{ closeCallback }">
<BaseMenu @closeCallback="closeCallback" />
</template>
</Drawer>