@shadoll/dandelion
v2.0.0
Published
mega menu
Downloads
2
Readme
Status
install
using
import Vue from 'vue';
import {LimeMenu} from '@shadoll/dandelion';
Vue.use(LimeMenu);
template
<template>
<LeftMenu
:items="items"
:collapse="collapse"
:opened="opened"
:roles="roles">
</LeftMenu>
</template>
<script>
export default {
data: () => ({
items: [], // models of SingleLimeMenuModel
collapse: false,
opened: ['uuid-1', 'uuid-4'],
roles: ['admin', 'root'],
})
}
</script>