From 0383a632d609f7676851094016a00b431a2e0b40 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Wed, 25 Nov 2020 14:40:01 +0300 Subject: [PATCH] Add docs for menumodel --- src/views/menumodel/MenuModel.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/menumodel/MenuModel.vue b/src/views/menumodel/MenuModel.vue index 2611df0ca..21b349907 100755 --- a/src/views/menumodel/MenuModel.vue +++ b/src/views/menumodel/MenuModel.vue @@ -4,6 +4,9 @@

MenuModel

PrimeVue menu components share a common api to specify the menuitems and submenus.

+

Router

+

Menu components require Vue-Router as a dependency so make sure the router is installed in your application.

+
MenuItem

Core of the API is the MenuItem class that defines various options such as the label, icon and children of an item in a menu.