diff options
author | 2023-08-07 17:30:00 +0200 | |
---|---|---|
committer | 2023-08-07 15:30:00 +0000 | |
commit | dfa1ba85548508e680f68200ea521be95c3eafe0 (patch) | |
tree | c166b635e5eb006806bd40a88252d90735be9ca4 /src/ui/demo/demo.routes.ts | |
parent | 6498c9b0fa0427d567506dbd4a6e87d227b138d4 (diff) | |
download | it-tools-dfa1ba85548508e680f68200ea521be95c3eafe0.tar.gz it-tools-dfa1ba85548508e680f68200ea521be95c3eafe0.tar.zst it-tools-dfa1ba85548508e680f68200ea521be95c3eafe0.zip |
feat(ui): added c-select in the ui lib (#550)
* feat(ui): added c-select in the ui lib
* refactor(ui): switched n-select to c-select
Diffstat (limited to 'src/ui/demo/demo.routes.ts')
-rw-r--r-- | src/ui/demo/demo.routes.ts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ui/demo/demo.routes.ts b/src/ui/demo/demo.routes.ts index 9ae1e77..ff514fc 100644 --- a/src/ui/demo/demo.routes.ts +++ b/src/ui/demo/demo.routes.ts @@ -1,4 +1,5 @@ import type { RouteRecordRaw } from 'vue-router'; +import DemoHome from './demo-home.page.vue'; const demoPages = import.meta.glob('../*/*.demo.vue'); @@ -17,7 +18,14 @@ export const routes = [ { path: '/c-lib', name: 'c-lib', - children: demoRoutes, + children: [ + { + path: '', + name: 'c-lib-index', + component: DemoHome, + }, + ...demoRoutes, + ], component: () => import('./demo-wrapper.vue'), }, ]; |