diff options
author | René Gieling <github@dartcafe.de> | 2021-06-29 13:38:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 13:38:04 +0300 |
commit | 17c7eb26be05a9a327c1ae7acfaa68ad8be78d51 (patch) | |
tree | 4f93f659388683bc97ea0ad6a09c25e00749767a /src/js/components/SideBar | |
parent | 6a75a26632d65af7f7ea896a37a5ad0f222bb77a (diff) | |
parent | 4401b1ed0d95b83cb27d0746b51b771aed5f4b27 (diff) |
Merge pull request #1791 from nextcloud/refactor/lazy-loading
lazy component loading
Diffstat (limited to 'src/js/components/SideBar')
-rw-r--r-- | src/js/components/SideBar/SideBar.vue | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/js/components/SideBar/SideBar.vue b/src/js/components/SideBar/SideBar.vue index 4327f149..5c4e652a 100644 --- a/src/js/components/SideBar/SideBar.vue +++ b/src/js/components/SideBar/SideBar.vue @@ -62,10 +62,10 @@ <script> import { AppSidebar, AppSidebarTab } from '@nextcloud/vue' -import SideBarTabConfiguration from './SideBarTabConfiguration' -import SideBarTabOptions from './SideBarTabOptions' -import SideBarTabComments from './SideBarTabComments' -import SideBarTabShare from './SideBarTabShare' +// import SideBarTabConfiguration from './SideBarTabConfiguration' +// import SideBarTabOptions from './SideBarTabOptions' +// import SideBarTabComments from './SideBarTabComments' +// import SideBarTabShare from './SideBarTabShare' import { mapState } from 'vuex' import { emit } from '@nextcloud/event-bus' @@ -73,10 +73,10 @@ export default { name: 'SideBar', components: { - SideBarTabConfiguration, - SideBarTabComments, - SideBarTabOptions, - SideBarTabShare, + SideBarTabConfiguration: () => import('./SideBarTabConfiguration'), + SideBarTabComments: () => import('./SideBarTabComments'), + SideBarTabOptions: () => import('./SideBarTabOptions'), + SideBarTabShare: () => import('./SideBarTabShare'), AppSidebar, AppSidebarTab, }, |