Vuetify activator undefined

mail@pastecode.io avatar
unknown
javascript
7 months ago
617 B
4
Indexable
Never
<v-menu activator="parent" anchor="bottom end">
  <v-card>
    <v-list density="compact">
      <v-list-item
        prepend-icon="mdi-account-circle"
        :to="{ name: 'Account' }"
        :title="$t('Account')"
      ></v-list-item>
      <Preview>
        <v-list-item
          prepend-icon="mdi-bell"
          :to="{ name: 'Notifications' }"
          :title="$t('Notifications')"
        ></v-list-item>
      </Preview>
      <v-list-item
        prepend-icon="mdi-logout"
        :title="$t('Logout')"
        @click="doLogout"
      ></v-list-item>
      <slot></slot>
    </v-list>
  </v-card>
</v-menu>