From e2accc3d61b3f63950cfda8a3007a7c952155bdf Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sat, 4 Nov 2023 11:20:02 +0300 Subject: [PATCH] Updated menu demos --- doc/menu/BasicDoc.vue | 12 +- doc/menu/CommandDoc.vue | 105 +++++++++++++ doc/menu/GroupDoc.vue | 94 +++++++----- doc/menu/PopupDoc.vue | 75 +++------ doc/menu/RouterDoc.vue | 205 +++++++++---------------- doc/menu/TemplateDoc.vue | 321 ++++++++++++++++++++++++++------------- pages/menu/index.vue | 16 +- 7 files changed, 488 insertions(+), 340 deletions(-) create mode 100644 doc/menu/CommandDoc.vue diff --git a/doc/menu/BasicDoc.vue b/doc/menu/BasicDoc.vue index 0008e6576..1f428b53f 100644 --- a/doc/menu/BasicDoc.vue +++ b/doc/menu/BasicDoc.vue @@ -13,8 +13,8 @@ export default { data() { return { items: [ - { label: 'New', icon: 'pi pi-fw pi-plus' }, - { label: 'Delete', icon: 'pi pi-fw pi-trash' } + { label: 'New', icon: 'pi pi-plus' }, + { label: 'Search', icon: 'pi pi-search' } ], code: { basic: ` @@ -32,8 +32,8 @@ export default { data() { return { items: [ - { label: 'New', icon: 'pi pi-fw pi-plus' }, - { label: 'Delete', icon: 'pi pi-fw pi-trash' } + { label: 'New', icon: 'pi pi-plus' }, + { label: 'Search', icon: 'pi pi-search' } ] }; } @@ -51,8 +51,8 @@ export default { import { ref } from "vue"; const items = ref([ - { label: 'New', icon: 'pi pi-fw pi-plus' }, - { label: 'Delete', icon: 'pi pi-fw pi-trash' } + { label: 'New', icon: 'pi pi-plus' }, + { label: 'Search', icon: 'pi pi-search' } ]); <\/script> ` diff --git a/doc/menu/CommandDoc.vue b/doc/menu/CommandDoc.vue new file mode 100644 index 000000000..713c6b278 --- /dev/null +++ b/doc/menu/CommandDoc.vue @@ -0,0 +1,105 @@ + + + diff --git a/doc/menu/GroupDoc.vue b/doc/menu/GroupDoc.vue index ab8e873fb..a6d749f13 100644 --- a/doc/menu/GroupDoc.vue +++ b/doc/menu/GroupDoc.vue @@ -1,6 +1,6 @@