From 62132570e121b7f6dbaf8a86bd559339e9a399a7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 13 Nov 2018 20:21:52 +0900 Subject: [PATCH] [Client] Split components to reduce bundle size --- src/client/app/desktop/views/components/index.ts | 2 -- .../app/desktop/views/components/settings-window.vue | 8 +++++++- src/client/app/mobile/script.ts | 3 +-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/client/app/desktop/views/components/index.ts b/src/client/app/desktop/views/components/index.ts index 36636c98e3..8ea2b602db 100644 --- a/src/client/app/desktop/views/components/index.ts +++ b/src/client/app/desktop/views/components/index.ts @@ -16,7 +16,6 @@ import noteForm from './post-form.vue'; import renoteForm from './renote-form.vue'; import notePreview from './note-preview.vue'; import noteDetail from './note-detail.vue'; -import settings from './settings.vue'; import calendar from './calendar.vue'; import activity from './activity.vue'; import friendsMaker from './friends-maker.vue'; @@ -40,7 +39,6 @@ Vue.component('mk-post-form', noteForm); Vue.component('mk-renote-form', renoteForm); Vue.component('mk-note-preview', notePreview); Vue.component('mk-note-detail', noteDetail); -Vue.component('mk-settings', settings); Vue.component('mk-calendar', calendar); Vue.component('mk-activity', activity); Vue.component('mk-friends-maker', friendsMaker); diff --git a/src/client/app/desktop/views/components/settings-window.vue b/src/client/app/desktop/views/components/settings-window.vue index 7ef5ac0c6e..dd7407cd97 100644 --- a/src/client/app/desktop/views/components/settings-window.vue +++ b/src/client/app/desktop/views/components/settings-window.vue @@ -1,15 +1,21 @@