From 73bdebc5a5a683d4bf50b88a185b691a81b4cbf4 Mon Sep 17 00:00:00 2001 From: LeThanhPhongLTV Date: Wed, 25 May 2022 17:11:57 +0700 Subject: [PATCH] feat(breadcrumb): Design layout for breadcrumb | JIRA: PT-91 --- components.d.ts | 27 +++++++++++ src/components/Navigation/index.vue | 4 +- src/layouts/default-layout.vue | 75 +++++++++++++++++++++++++++-- src/router/routes.ts | 48 +++++++++++++++--- tailwind.config.js | 4 ++ 5 files changed, 144 insertions(+), 14 deletions(-) create mode 100644 components.d.ts diff --git a/components.d.ts b/components.d.ts new file mode 100644 index 0000000..07501af --- /dev/null +++ b/components.d.ts @@ -0,0 +1,27 @@ +// generated by unplugin-vue-components +// We suggest you to commit this file into source control +// Read more: https://github.com/vuejs/vue-next/pull/3399 + +declare module 'vue' { + export interface GlobalComponents { + ElAvatar: typeof import('element-plus/es')['ElAvatar'] + ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb'] + ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem'] + ElButton: typeof import('element-plus/es')['ElButton'] + ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider'] + ElDivider: typeof import('element-plus/es')['ElDivider'] + ElDropdown: typeof import('element-plus/es')['ElDropdown'] + ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] + ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] + ElIcon: typeof import('element-plus/es')['ElIcon'] + ElInput: typeof import('element-plus/es')['ElInput'] + ElLink: typeof import('element-plus/es')['ElLink'] + ElPopover: typeof import('element-plus/es')['ElPopover'] + ElRow: typeof import('element-plus/es')['ElRow'] + Main: typeof import('./src/components/Main/index.vue')['default'] + Navigation: typeof import('./src/components/Navigation/index.vue')['default'] + Sidebar: typeof import('./src/components/Sidebar/index.vue')['default'] + } +} + +export { } diff --git a/src/components/Navigation/index.vue b/src/components/Navigation/index.vue index 8e5c409..02b4386 100644 --- a/src/components/Navigation/index.vue +++ b/src/components/Navigation/index.vue @@ -1,5 +1,7 @@