diff --git a/public/api/uxp-nav.json b/public/api/uxp-nav.json index 69197c5..2b2c09c 100644 --- a/public/api/uxp-nav.json +++ b/public/api/uxp-nav.json @@ -23,7 +23,7 @@ }, { "uid": "menu-demo-id", - "label": "Menu Demo", + "label": "Page Name Demo", "path": "/demos", "hasChild": "true", "multiColumn": "false", @@ -32,14 +32,14 @@ "children": [ { "uid": "menu-demo-one-id", - "label": "Submenu System", - "path": "/", + "label": "Introduction", + "path": "/demos/name/introduction", "hasChild": "false" }, { "uid": "menu-demo-two-id", - "label": "Menu Subsystem", - "path": "/", + "label": "Conclusion", + "path": "/demos/name/conclusion", "hasChild": "false" } ] diff --git a/src/Demos/_routes/demos.routes.js b/src/Demos/_routes/demos.routes.js index 05f7427..f4057d3 100644 --- a/src/Demos/_routes/demos.routes.js +++ b/src/Demos/_routes/demos.routes.js @@ -33,5 +33,10 @@ export const demosRoutes = [ { path: '/demos/today', component: () => import('@/Demos/_views/today/Today.vue') + }, + { + path: '/demos/name/:id', + component: () => import('@/Demos/_views/Name.vue'), + props: true } ] \ No newline at end of file diff --git a/src/Demos/_views/Name.vue b/src/Demos/_views/Name.vue index e9611ce..93391e8 100644 --- a/src/Demos/_views/Name.vue +++ b/src/Demos/_views/Name.vue @@ -24,7 +24,7 @@