Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable4.1] fix: disable async vue components #10407

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"private": true,
"type": "module",
"scripts": {
"build": "NODE_ENV=production NODE_OPTIONS='--max-old-space-size=4096' vite --mode=production build",
"dev": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=4096' vite --mode=development build",
"build": "NODE_ENV=production NODE_OPTIONS='--max-old-space-size=8192' vite --mode=production build",
"dev": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=8192' vite --mode=development build",
"watch": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=8192' vite build --mode=development --watch",
"lint": "eslint --ext .js,.vue --ignore-pattern tests src",
"lint:fix": "eslint --ext .js,.vue --ignore-pattern tests src --fix",
Expand Down
3 changes: 2 additions & 1 deletion src/components/NavigationAccount.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ import IconFolderAdd from 'vue-material-design-icons/Folder.vue'
import MenuDown from 'vue-material-design-icons/ChevronDown.vue'
import MenuUp from 'vue-material-design-icons/ChevronUp.vue'
import IconDelete from 'vue-material-design-icons/Delete.vue'
import AccountSettings from './AccountSettings.vue'
import { DialogBuilder } from '@nextcloud/dialogs'
export default {
name: 'NavigationAccount',
Expand All @@ -108,7 +109,7 @@ export default {
ActionCheckbox,
ActionInput,
ActionText,
AccountSettings: () => import(/* webpackChunkName: "account-settings" */ './AccountSettings.vue'),
AccountSettings,
IconInfo,
IconSettings,
IconFolderAdd,
Expand Down
4 changes: 2 additions & 2 deletions src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import Vue from 'vue'
import Router from 'vue-router'
import { generateUrl } from '@nextcloud/router'

const Home = () => import('./views/Home.vue')
const Setup = () => import('./views/Setup.vue')
import Home from './views/Home.vue'
import Setup from './views/Setup.vue'

Vue.use(Router)

Expand Down
3 changes: 2 additions & 1 deletion src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import MailboxThread from '../components/MailboxThread.vue'
import Navigation from '../components/Navigation.vue'
import Outbox from '../components/Outbox.vue'
import ComposerSessionIndicator from '../components/ComposerSessionIndicator.vue'
import NewMessageModal from '../components/NewMessageModal.vue'
import { mapGetters } from 'vuex'

export default {
Expand All @@ -38,7 +39,7 @@ export default {
NcContent,
MailboxThread,
Navigation,
NewMessageModal: () => import(/* webpackChunkName: "new-message-modal" */ '../components/NewMessageModal.vue'),
NewMessageModal,
Outbox,
ComposerSessionIndicator,
},
Expand Down
Loading