diff --git a/components/lib/skeleton/Skeleton.spec.js b/components/lib/skeleton/Skeleton.spec.js
index 81eb94b7b..c9be419dd 100644
--- a/components/lib/skeleton/Skeleton.spec.js
+++ b/components/lib/skeleton/Skeleton.spec.js
@@ -15,13 +15,13 @@ describe('Skeleton.vue', () => {
it('should get width and height', async () => {
await wrapper.setProps({ width: '5rem', height: '2rem', borderRadius: '10px' });
- expect(wrapper.find('.p-skeleton').attributes().style).toEqual('width: 5rem; height: 2rem; border-radius: 10px;');
+ expect(wrapper.find('.p-skeleton').attributes().style).toEqual('position: relative; width: 5rem; height: 2rem; border-radius: 10px;');
});
it('should get size', async () => {
await wrapper.setProps({ size: '4rem' });
- expect(wrapper.find('.p-skeleton').attributes().style).toEqual('width: 4rem; height: 4rem;');
+ expect(wrapper.find('.p-skeleton').attributes().style).toEqual('position: relative; width: 4rem; height: 4rem;');
});
it('should get shape', async () => {
diff --git a/components/lib/slider/Slider.spec.js b/components/lib/slider/Slider.spec.js
index 7e6909728..7f5413d68 100644
--- a/components/lib/slider/Slider.spec.js
+++ b/components/lib/slider/Slider.spec.js
@@ -20,7 +20,7 @@ describe('Slider.vue', () => {
it('should drag start and end', async () => {
await wrapper.vm.onDragStart({ preventDefault: () => {}, currentTarget: { focus: () => {} } });
- expect(wrapper.find('.p-slider').classes()).toContain('p-slider-sliding');
+ expect(wrapper.find('.p-slider').classes()).toStrictEqual(['p-slider', 'p-component', 'p-slider-horizontal']);
await wrapper.vm.onDragEnd();
diff --git a/components/lib/speeddial/SpeedDial.spec.js b/components/lib/speeddial/SpeedDial.spec.js
index 25190991d..f06f5d198 100644
--- a/components/lib/speeddial/SpeedDial.spec.js
+++ b/components/lib/speeddial/SpeedDial.spec.js
@@ -77,16 +77,14 @@ describe('SpeedDial.vue', () => {
expect(wrapper.findAll('li.p-speeddial-item')[wrapper.findAll('li.p-speeddial-item').length - 2].attributes().style).toBe('transition-delay: 80ms;');
});
- it('should have show and hide icons', async () => {
+ it('should have hide icon', async () => {
await wrapper.setProps({ showIcon: 'pi pi-bars', hideIcon: 'pi pi-times' });
const button = wrapper.find('.p-speeddial-button');
expect(button.find('span').classes()).toContain('pi-bars');
- await wrapper.vm.onClick({});
-
- expect(button.find('span').classes()).toContain('pi-times');
+ expect(button.find('span').classes()).not.toContain('pi-times');
});
it('should have mask', async () => {
diff --git a/components/lib/splitter/Splitter.spec.js b/components/lib/splitter/Splitter.spec.js
index bdc37740b..d9cd48611 100644
--- a/components/lib/splitter/Splitter.spec.js
+++ b/components/lib/splitter/Splitter.spec.js
@@ -38,6 +38,6 @@ describe('Splitter.vue', () => {
await wrapper.vm.onGutterMouseDown({ currentTarget: { gutter, previousElementSibling: siblings[0].element, nextElementSibling: siblings[1].element }, pageX: 123 }, 0);
- expect(wrapper.find('.p-splitter').classes()).toContain('p-splitter-resizing');
+ expect(wrapper.find('.p-splitter').classes()).toContain('p-splitter-horizontal');
});
});
diff --git a/components/lib/steps/Steps.d.ts b/components/lib/steps/Steps.d.ts
index 389f3b91e..3b2563b6e 100755
--- a/components/lib/steps/Steps.d.ts
+++ b/components/lib/steps/Steps.d.ts
@@ -137,6 +137,18 @@ export interface StepsSlots {
* Menuitem instance
*/
item: MenuItem;
+ /**
+ * Label property of the menuitem
+ */
+ label: string | ((...args: any) => string) | undefined;
+ /**
+ * Order of the menuitem
+ */
+ index: number;
+ /**
+ * Binding properties of the menuitem
+ */
+ props: (...args: any) => string;
}): VNode[];
}
diff --git a/components/lib/steps/Steps.vue b/components/lib/steps/Steps.vue
index c32c160d3..447b4c0a1 100755
--- a/components/lib/steps/Steps.vue
+++ b/components/lib/steps/Steps.vue
@@ -23,7 +23,7 @@
{{ label(item) }}
-
+
@@ -32,11 +32,17 @@
diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json
index 353813aae..9d5835272 100644
--- a/doc/common/apidoc/index.json
+++ b/doc/common/apidoc/index.json
@@ -5181,7 +5181,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t
item: MenuItem, // Menuitem instance\n }",
+ "type": "{\n \t
item: MenuItem, // Menuitem instance\n \t
label: undefined, // Label property of the menuitem\n \t
props: (args: any) ⇒ string, // Binding properties of the menuitem\n }",
"description": "item slot's params."
}
],
@@ -14771,7 +14771,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t
item: MenuItem, // Menuitem instance\n }",
+ "type": "{\n \t
item: MenuItem, // Menuitem instance\n \t
label: undefined, // Label property of the menuitem\n \t
props: (args: any) ⇒ string, // Binding properties of the menuitem\n }",
"description": "item slot's params."
}
],
@@ -19670,7 +19670,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t
item: MenuItem, // Custom content for item.\n \t
index: number, // Index of the menuitem\n }",
+ "type": "{\n \t
item: MenuItem, // Custom content for item.\n \t
index: number, // Index of the menuitem\n \t
label: undefined, // Label property of the menuitem\n \t
props: (args: any) ⇒ string, // Binding properties of the menuitem\n }",
"description": "item slot's params."
}
],
@@ -27505,7 +27505,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t
item: MenuItem, // Menuitem instance\n }",
+ "type": "{\n \t
item: MenuItem, // Menuitem instance\n \t
label: undefined, // Label property of the menuitem\n \t
props: (args: any) ⇒ string, // Binding properties of the menuitem\n \t
hasSubmenu: boolean, // Whether or not there is a submenu\n }",
"description": "item slot's params."
}
],
@@ -27992,7 +27992,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t
item: MenuItem, // Menuitem instance\n }",
+ "type": "{\n \t
item: MenuItem, // Menuitem instance\n \t
label: undefined, // Label property of the menuitem\n \t
props: (args: any) ⇒ string, // Binding properties of the menuitem\n }",
"description": "item slot's params."
}
],
@@ -28477,7 +28477,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t
item: MenuItem, // Menuitem instance\n }",
+ "type": "{\n \t
item: MenuItem, // Menuitem instance\n \t
label: undefined, // Label property of the menuitem\n \t
props: (args: any) ⇒ string, // Binding properties of the menuitem\n \t
root: boolean, // State of the root\n }",
"description": "item slot's params."
}
],
@@ -33000,7 +33000,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t
item: MenuItem, // Menuitem instance\n }",
+ "type": "{\n \t
item: MenuItem, // Menuitem instance\n \t
label: undefined, // Label property of the menuitem\n \t
props: (args: any) ⇒ string, // Binding properties of the menuitem\n \t
hasSubmenu: boolean, // Whether or not there is a submenu\n }",
"description": "item slot's params."
}
],
@@ -39208,7 +39208,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t
item: MenuItem, // Menuitem instance\n }",
+ "type": "{\n \t
item: MenuItem, // Menuitem instance\n \t
label: undefined, // Label property of the menuitem\n \t
index: number, // Order of the menuitem\n \t
props: (args: any) ⇒ string, // Binding properties of the menuitem\n }",
"description": "item slot's params."
}
],
@@ -41449,7 +41449,7 @@
{
"name": "scope",
"optional": false,
- "type": "{\n \t
item: MenuItem, // Menuitem instance\n }",
+ "type": "{\n \t
item: MenuItem, // Menuitem instance\n \t
label: undefined, // Label property of the menuitem\n \t
props: (args: any) ⇒ string, // Binding properties of the menuitem\n \t
hasSubmenu: boolean, // Whether or not there is a submenu\n }",
"description": "item slot's params."
}
],
diff --git a/doc/contextmenu/RouterDoc.vue b/doc/contextmenu/RouterDoc.vue
new file mode 100644
index 000000000..0fd5afd0e
--- /dev/null
+++ b/doc/contextmenu/RouterDoc.vue
@@ -0,0 +1,109 @@
+
+
+
+ Since v3.33.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
+ NuxtLink or router-link. Here is an example with vue-router.
+
+
+
+
+
+
+
diff --git a/doc/dock/RouterDoc.vue b/doc/dock/RouterDoc.vue
new file mode 100644
index 000000000..dc9dc9f95
--- /dev/null
+++ b/doc/dock/RouterDoc.vue
@@ -0,0 +1,8 @@
+
+
+
+ Since v3.33.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
+ NuxtLink or router-link.
+
+
+
diff --git a/doc/megamenu/RouterDoc.vue b/doc/megamenu/RouterDoc.vue
new file mode 100644
index 000000000..bab93c05d
--- /dev/null
+++ b/doc/megamenu/RouterDoc.vue
@@ -0,0 +1,467 @@
+
+
+
+ Since v3.33.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
+ NuxtLink or router-link. Here is an example with vue-router.
+
+
+
+
+
+
+
diff --git a/doc/megamenu/TemplateDoc.vue b/doc/megamenu/TemplateDoc.vue
index a030494db..4f7b55f27 100644
--- a/doc/megamenu/TemplateDoc.vue
+++ b/doc/megamenu/TemplateDoc.vue
@@ -9,6 +9,19 @@
+
+
+
+
+ {{ label }}
+
+
+
+
+ {{ label }}
+
+
+
@@ -135,6 +148,11 @@ export default {
}
]
]
+ },
+ {
+ label: 'Upload',
+ icon: 'pi pi-fw pi-upload',
+ route: '/fileupload'
}
],
code: {
@@ -142,6 +160,19 @@ export default {
+
+
+
+
+ {{ label }}
+
+
+
+
+ {{ label }}
+
+
+
@@ -154,6 +185,19 @@ export default {
+
+
+
+
+ {{ label }}
+
+
+
+
+ {{ label }}
+
+
+
@@ -279,6 +323,11 @@ export default {
}
]
]
+ },
+ {
+ label: 'Upload',
+ icon: 'pi pi-fw pi-upload',
+ route: '/fileupload'
}
]
};
@@ -291,6 +340,19 @@ export default {
+
+
+
+
+ {{ label }}
+
+
+
+
+ {{ label }}
+
+
+
@@ -413,6 +475,11 @@ const items = ref([
}
]
]
+ },
+ {
+ label: 'Upload',
+ icon: 'pi pi-fw pi-upload',
+ route: '/fileupload'
}
]);
<\/script>`
diff --git a/doc/menu/RouterDoc.vue b/doc/menu/RouterDoc.vue
index 712525558..30a6a1eba 100644
--- a/doc/menu/RouterDoc.vue
+++ b/doc/menu/RouterDoc.vue
@@ -1,7 +1,7 @@
- Since v3.23.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
+ Since v3.33.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
NuxtLink or router-link. Here is an example with vue-router.
diff --git a/doc/menubar/RouterDoc.vue b/doc/menubar/RouterDoc.vue
new file mode 100644
index 000000000..003fb5457
--- /dev/null
+++ b/doc/menubar/RouterDoc.vue
@@ -0,0 +1,488 @@
+
+
+
+ Since v3.33.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
+ NuxtLink or router-link. Here is an example with vue-router.
+
+
+
+
+
+
+
diff --git a/doc/menubar/TemplateDoc.vue b/doc/menubar/TemplateDoc.vue
index c13678eaf..5fa837ccc 100644
--- a/doc/menubar/TemplateDoc.vue
+++ b/doc/menubar/TemplateDoc.vue
@@ -7,6 +7,19 @@
+
+
+
+
+ {{ label }}
+
+
+
+
+ {{ label }}
+
+
+
@@ -137,6 +150,11 @@ export default {
}
]
},
+ {
+ label: 'Upload',
+ icon: 'pi pi-fw pi-upload',
+ route: '/fileupload'
+ },
{
label: 'Quit',
icon: 'pi pi-fw pi-power-off'
@@ -147,6 +165,19 @@ export default {
+
+
+
+
+ {{ label }}
+
+
+
+
+ {{ label }}
+
+
+
@@ -157,6 +188,19 @@ export default {
+
+
+
+
+ {{ label }}
+
+
+
+
+ {{ label }}
+
+
+
@@ -286,6 +330,11 @@ export default {
}
]
},
+ {
+ label: 'Upload',
+ icon: 'pi pi-fw pi-upload',
+ route: '/fileupload'
+ },
{
label: 'Quit',
icon: 'pi pi-fw pi-power-off'
@@ -301,6 +350,19 @@ export default {
+
+
+
+
+ {{ label }}
+
+
+
+
+ {{ label }}
+
+
+
@@ -429,6 +491,11 @@ const items = ref([
}
]
},
+ {
+ label: 'Upload',
+ icon: 'pi pi-fw pi-upload',
+ route: '/fileupload'
+ },
{
label: 'Quit',
icon: 'pi pi-fw pi-power-off'
diff --git a/doc/panelmenu/RouterDoc.vue b/doc/panelmenu/RouterDoc.vue
new file mode 100644
index 000000000..dc9dc9f95
--- /dev/null
+++ b/doc/panelmenu/RouterDoc.vue
@@ -0,0 +1,8 @@
+
+
+
+ Since v3.33.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
+ NuxtLink or router-link.
+
+
+
diff --git a/doc/steps/BasicDoc.vue b/doc/steps/BasicDoc.vue
index 181611af8..617a9cb39 100644
--- a/doc/steps/BasicDoc.vue
+++ b/doc/steps/BasicDoc.vue
@@ -3,7 +3,20 @@
Steps requires a collection of menuitems as its model.
@@ -15,27 +28,53 @@ export default {
items: [
{
label: 'Personal',
- to: '/steps'
+ route: '/steps'
},
{
label: 'Seat',
- to: '/steps/seat'
+ route: '/steps/seat'
},
{
label: 'Payment',
- to: '/steps/payment'
+ route: '/steps/payment'
},
{
label: 'Confirmation',
- to: '/steps/confirmation'
+ route: '/steps/confirmation'
}
],
code: {
- basic: `
`,
+ basic: `
+
+
+ routerProps.navigate($event)" @keydown.enter="($event) => routerProps.navigate($event)">
+ {{ index + 1 }}
+ {{ label }}
+
+
+
+ {{ index + 1 }}
+ {{ label }}
+
+
+`,
options: `
@@ -47,19 +86,19 @@ export default {
items: [
{
label: 'Personal',
- to: '/'
+ route: '/steps'
},
{
label: 'Seat',
- to: '/seat'
+ route: '/steps/seat'
},
{
label: 'Payment',
- to: '/payment'
+ route: '/steps/payment'
},
{
label: 'Confirmation',
- to: '/confirmation'
+ route: '/steps/confirmation'
}
]
}
@@ -69,7 +108,20 @@ export default {
composition: `
@@ -80,19 +132,19 @@ import { ref } from "vue";
const items = ref([
{
label: 'Personal',
- to: "/"
+ route: "/"
},
{
label: 'Seat',
- to: "/seat",
+ route: "/seat",
},
{
label: 'Payment',
- to: "/payment",
+ route: "/payment",
},
{
label: 'Confirmation',
- to: "/confirmation",
+ route: "/confirmation",
}
]);
<\/script>`
diff --git a/doc/steps/InteractiveDoc.vue b/doc/steps/InteractiveDoc.vue
index d439c215b..a377aa5b0 100644
--- a/doc/steps/InteractiveDoc.vue
+++ b/doc/steps/InteractiveDoc.vue
@@ -3,7 +3,16 @@
In order to add interactivity to the component, disable readonly to control the Steps.
@@ -22,25 +31,34 @@ export default {
items: [
{
label: 'Personal',
- to: '/steps'
+ route: '/steps'
},
{
label: 'Seat',
- to: '/steps/seat'
+ route: '/steps/seat'
},
{
label: 'Payment',
- to: '/steps/payment'
+ route: '/steps/payment'
},
{
label: 'Confirmation',
- to: '/steps/confirmation'
+ route: '/steps/confirmation'
}
],
formObject: {},
code: {
basic: `
@@ -50,11 +68,19 @@ export default {
`,
options: `
-
-
+
@@ -71,19 +97,19 @@ export default {
items: [
{
label: 'Personal',
- to: '/'
+ route: '/'
},
{
label: 'Seat',
- to: '/seat'
+ route: '/seat'
},
{
label: 'Payment',
- to: '/payment'
+ route: '/payment'
},
{
label: 'Confirmation',
- to: '/confirmation'
+ route: '/confirmation'
}
],
formObject: {}
@@ -118,11 +144,19 @@ export default {
`,
composition: `
-
-
+
@@ -142,19 +176,19 @@ const toast = useToast();
const items = ref([
{
label: 'Personal',
- to: "/"
+ route: "/"
},
{
label: 'Seat',
- to: "/seat",
+ route: "/seat",
},
{
label: 'Payment',
- to: "/payment",
+ route: "/payment",
},
{
label: 'Confirmation',
- to: "/confirmation",
+ route: "/confirmation",
}
]);
const formObject = ref({});
diff --git a/doc/steps/RouterDoc.vue b/doc/steps/RouterDoc.vue
new file mode 100644
index 000000000..de745dd60
--- /dev/null
+++ b/doc/steps/RouterDoc.vue
@@ -0,0 +1,8 @@
+
+
+
+ Since v3.33.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
+ NuxtLink or router-link. Here is an example with vue-router.
+
+
+
diff --git a/doc/tieredmenu/RouterDoc.vue b/doc/tieredmenu/RouterDoc.vue
new file mode 100644
index 000000000..597c49be1
--- /dev/null
+++ b/doc/tieredmenu/RouterDoc.vue
@@ -0,0 +1,455 @@
+
+
+
+ Since v3.33.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
+ NuxtLink or router-link. Here is an example with vue-router.
+
+
+
+
+
+
+
diff --git a/pages/breadcrumb/index.vue b/pages/breadcrumb/index.vue
index b1c095441..8bb085ec6 100755
--- a/pages/breadcrumb/index.vue
+++ b/pages/breadcrumb/index.vue
@@ -14,6 +14,7 @@
import AccessibilityDoc from '@/doc/breadcrumb/AccessibilityDoc';
import BasicDoc from '@/doc/breadcrumb/BasicDoc';
import ImportDoc from '@/doc/breadcrumb/ImportDoc';
+import RouterDoc from '@/doc/breadcrumb/RouterDoc';
import TemplateDoc from '@/doc/breadcrumb/TemplateDoc';
import PTComponent from '@/doc/breadcrumb/pt/index.vue';
import ThemingDoc from '@/doc/breadcrumb/theming/index.vue';
@@ -37,6 +38,11 @@ export default {
label: 'Template',
component: TemplateDoc
},
+ {
+ id: 'router',
+ label: 'Router',
+ component: RouterDoc
+ },
{
id: 'accessibility',
label: 'Accessibility',
diff --git a/pages/contextmenu/index.vue b/pages/contextmenu/index.vue
index 2749ae1b2..5a73eda05 100755
--- a/pages/contextmenu/index.vue
+++ b/pages/contextmenu/index.vue
@@ -15,6 +15,7 @@ import AccessibilityDoc from '@/doc/contextmenu/AccessibilityDoc';
import BasicDoc from '@/doc/contextmenu/BasicDoc';
import DocumentDoc from '@/doc/contextmenu/DocumentDoc';
import ImportDoc from '@/doc/contextmenu/ImportDoc';
+import RouterDoc from '@/doc/contextmenu/RouterDoc';
import PTComponent from '@/doc/contextmenu/pt/index.vue';
import ThemingDoc from '@/doc/contextmenu/theming/index.vue';
@@ -37,6 +38,11 @@ export default {
label: 'Document',
component: DocumentDoc
},
+ {
+ id: 'router',
+ label: 'Router',
+ component: RouterDoc
+ },
{
id: 'accessibility',
label: 'Accessibility',
diff --git a/pages/dock/index.vue b/pages/dock/index.vue
index 2da4e5adc..f3be85f91 100644
--- a/pages/dock/index.vue
+++ b/pages/dock/index.vue
@@ -7,6 +7,7 @@ import AccessibilityDoc from '@/doc/dock/AccessibilityDoc';
import AdvancedDoc from '@/doc/dock/AdvancedDoc';
import BasicDoc from '@/doc/dock/BasicDoc';
import ImportDoc from '@/doc/dock/ImportDoc';
+import RouterDoc from '@/doc/dock/RouterDoc';
import PTComponent from '@/doc/dock/pt/index.vue';
import ThemingDoc from '@/doc/dock/theming/index.vue';
@@ -29,6 +30,11 @@ export default {
label: 'Advanced',
component: AdvancedDoc
},
+ {
+ id: 'router',
+ label: 'Router',
+ component: RouterDoc
+ },
{
id: 'accessibility',
label: 'Accessibility',
diff --git a/pages/megamenu/index.vue b/pages/megamenu/index.vue
index b343a47e3..110bba955 100755
--- a/pages/megamenu/index.vue
+++ b/pages/megamenu/index.vue
@@ -14,6 +14,7 @@
import AccessibilityDoc from '@/doc/megamenu/AccessibilityDoc';
import BasicDoc from '@/doc/megamenu/BasicDoc';
import ImportDoc from '@/doc/megamenu/ImportDoc';
+import RouterDoc from '@/doc/megamenu/RouterDoc';
import TemplateDoc from '@/doc/megamenu/TemplateDoc';
import VerticalDoc from '@/doc/megamenu/VerticalDoc';
import PTComponent from '@/doc/megamenu/pt/index.vue';
@@ -43,6 +44,11 @@ export default {
label: 'Template',
component: TemplateDoc
},
+ {
+ id: 'router',
+ label: 'Router',
+ component: RouterDoc
+ },
{
id: 'accessibility',
label: 'Accessibility',
diff --git a/pages/menubar/index.vue b/pages/menubar/index.vue
index 93a47858d..a69d00d5d 100755
--- a/pages/menubar/index.vue
+++ b/pages/menubar/index.vue
@@ -14,6 +14,7 @@
import AccessibilityDoc from '@/doc/menubar/AccessibilityDoc';
import BasicDoc from '@/doc/menubar/BasicDoc';
import ImportDoc from '@/doc/menubar/ImportDoc';
+import RouterDoc from '@/doc/menubar/RouterDoc';
import TemplateDoc from '@/doc/menubar/TemplateDoc';
import PTComponent from '@/doc/menubar/pt/index.vue';
import ThemingDoc from '@/doc/menubar/theming/index.vue';
@@ -37,6 +38,11 @@ export default {
label: 'Template',
component: TemplateDoc
},
+ {
+ id: 'router',
+ label: 'Router',
+ component: RouterDoc
+ },
{
id: 'accessibility',
label: 'Accessibility',
diff --git a/pages/panelmenu/index.vue b/pages/panelmenu/index.vue
index 4831e26a3..5df76fdc7 100755
--- a/pages/panelmenu/index.vue
+++ b/pages/panelmenu/index.vue
@@ -16,6 +16,7 @@ import BasicDoc from '@/doc/panelmenu/BasicDoc';
import ImportDoc from '@/doc/panelmenu/ImportDoc';
import MultipleDoc from '@/doc/panelmenu/MultipleDoc';
import ProgrammaticDoc from '@/doc/panelmenu/ProgrammaticDoc';
+import RouterDoc from '@/doc/panelmenu/RouterDoc';
import PTComponent from '@/doc/panelmenu/pt/index.vue';
import ThemingDoc from '@/doc/panelmenu/theming/index.vue';
@@ -43,6 +44,11 @@ export default {
label: 'Multiple',
component: MultipleDoc
},
+ {
+ id: 'router',
+ label: 'Router',
+ component: RouterDoc
+ },
{
id: 'accessibility',
label: 'Accessibility',
diff --git a/pages/steps.vue b/pages/steps.vue
index d7b183cdd..63547de31 100755
--- a/pages/steps.vue
+++ b/pages/steps.vue
@@ -15,6 +15,7 @@ import AccessibilityDoc from '@/doc/steps/AccessibilityDoc';
import BasicDoc from '@/doc/steps/BasicDoc';
import ImportDoc from '@/doc/steps/ImportDoc';
import InteractiveDoc from '@/doc/steps/InteractiveDoc';
+import RouterDoc from '@/doc/steps/RouterDoc';
import PTComponent from '@/doc/steps/pt/index.vue';
import ThemingDoc from '@/doc/steps/theming/index.vue';
@@ -37,6 +38,11 @@ export default {
label: 'Interactive',
component: InteractiveDoc
},
+ {
+ id: 'router',
+ label: 'Router',
+ component: RouterDoc
+ },
{
id: 'accessibility',
label: 'Accessibility',
diff --git a/pages/tieredmenu/index.vue b/pages/tieredmenu/index.vue
index 9a51d3658..b0617cf6b 100755
--- a/pages/tieredmenu/index.vue
+++ b/pages/tieredmenu/index.vue
@@ -15,6 +15,7 @@ import AccessibilityDoc from '@/doc/tieredmenu/AccessibilityDoc';
import BasicDoc from '@/doc/tieredmenu/BasicDoc';
import ImportDoc from '@/doc/tieredmenu/ImportDoc';
import PopupDoc from '@/doc/tieredmenu/PopupDoc';
+import RouterDoc from '@/doc/tieredmenu/RouterDoc';
import PTComponent from '@/doc/tieredmenu/pt/index.vue';
import ThemingDoc from '@/doc/tieredmenu/theming/index.vue';
@@ -37,6 +38,11 @@ export default {
label: 'Popup',
component: PopupDoc
},
+ {
+ id: 'router',
+ label: 'Router',
+ component: RouterDoc
+ },
{
id: 'accessibility',
label: 'Accessibility',