~cypheon/nextcloud-chores-app

46c04e8959338b4e96d495b6f4c67c65c6264136 — Johann Rudloff 1 year, 6 months ago 0cf68e9
Reduce bundle size by not importing all of @nextcloud/vue at once
4 files changed, 13 insertions(+), 6 deletions(-)

M src/App.vue
M src/views/ChoreDetailsSidebar.vue
M src/views/Dashboard.vue
M src/views/TeamOverview.vue
M src/App.vue => src/App.vue +5 -3
@@ 94,9 94,11 @@
</template>

<script>
import { NcContent } from '@nextcloud/vue'
import NcAppContent from '@nextcloud/vue/dist/Components/NcAppContent'
import { NcAppNavigation, NcAppNavigationItem, NcAppNavigationNew } from '@nextcloud/vue'
import NcContent from '@nextcloud/vue/dist/Components/NcContent';
import NcAppContent from '@nextcloud/vue/dist/Components/NcAppContent';
import NcAppNavigation from '@nextcloud/vue/dist/Components/NcAppNavigation';
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem';
import NcAppNavigationNew from '@nextcloud/vue/dist/Components/NcAppNavigationNew';
import { isOverdue } from './logic';

export default {

M src/views/ChoreDetailsSidebar.vue => src/views/ChoreDetailsSidebar.vue +2 -1
@@ 111,7 111,8 @@ edit: {{ JSON.stringify(editChore, null, 2) }}

<script>

import { NcAppSidebar, NcDatetimePicker } from '@nextcloud/vue';
import NcAppSidebar from '@nextcloud/vue/dist/Components/NcAppSidebar';
import NcDatetimePicker from '@nextcloud/vue/dist/Components/NcDatetimePicker';

const WEEKDAY_NAMES = [
  'Sunday',

M src/views/Dashboard.vue => src/views/Dashboard.vue +5 -1
@@ 85,7 85,11 @@

<script>

import { NcActions, NcActionButton, NcActionRouter, NcModal, NcUserBubble } from '@nextcloud/vue';
import NcActions from '@nextcloud/vue/dist/Components/NcActions';
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton';
import NcActionRouter from '@nextcloud/vue/dist/Components/NcActionRouter';
import NcModal from '@nextcloud/vue/dist/Components/NcModal';
import NcUserBubble from '@nextcloud/vue/dist/Components/NcUserBubble';
import { calcDue, daysUntilDueDate } from '../logic';

export default {

M src/views/TeamOverview.vue => src/views/TeamOverview.vue +1 -1
@@ 58,7 58,7 @@

<script>

import { NcUserBubble } from '@nextcloud/vue';
import NcUserBubble from '@nextcloud/vue/dist/Components/NcUserBubble';

export default {
  name: 'TeamOverview',