Lazy-load some more components
This commit is contained in:
parent
01f4798e7a
commit
5925bc95f5
|
|
@ -82,21 +82,21 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Modal from '@/components/Modal';
|
|
||||||
import ContentBlockElementChooserWidget from '@/components/content-forms/ContentBlockElementChooserWidget';
|
|
||||||
import ModalInput from '@/components/ModalInput';
|
|
||||||
import AddContentElement from '@/components/AddContentElement';
|
|
||||||
import LinkForm from '@/components/content-forms/LinkForm';
|
|
||||||
import VideoForm from '@/components/content-forms/VideoForm';
|
|
||||||
import ImageForm from '@/components/content-forms/ImageForm';
|
|
||||||
import DocumentForm from '@/components/content-forms/DocumentForm';
|
|
||||||
import AssignmentForm from '@/components/content-forms/AssignmentForm';
|
|
||||||
import TextForm from '@/components/content-forms/TextForm';
|
|
||||||
import TrashIcon from '@/components/icons/TrashIcon';
|
|
||||||
import Checkbox from '@/components/ui/Checkbox';
|
|
||||||
|
|
||||||
import {meQuery} from '@/graphql/queries';
|
import {meQuery} from '@/graphql/queries';
|
||||||
|
|
||||||
|
const Modal = () => import('@/components/Modal');
|
||||||
|
const ContentBlockElementChooserWidget = () => import('@/components/content-forms/ContentBlockElementChooserWidget');
|
||||||
|
const ModalInput = () => import('@/components/ModalInput');
|
||||||
|
const AddContentElement = () => import('@/components/AddContentElement');
|
||||||
|
const LinkForm = () => import('@/components/content-forms/LinkForm');
|
||||||
|
const VideoForm = () => import('@/components/content-forms/VideoForm');
|
||||||
|
const ImageForm = () => import('@/components/content-forms/ImageForm');
|
||||||
|
const DocumentForm = () => import('@/components/content-forms/DocumentForm');
|
||||||
|
const AssignmentForm = () => import('@/components/content-forms/AssignmentForm');
|
||||||
|
const TextForm = () => import('@/components/content-forms/TextForm');
|
||||||
|
const TrashIcon = () => import('@/components/icons/TrashIcon');
|
||||||
|
const Checkbox = () => import('@/components/ui/Checkbox');
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
'content-block': Object,
|
'content-block': Object,
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import PortfolioIllustration from '@/components/illustrations/PortfolioIllustration';
|
const PortfolioIllustration = () => import('@/components/illustrations/PortfolioIllustration');
|
||||||
import CreateProjectButton from '@/components/portfolio/CreateProjectButton';
|
const CreateProjectButton = () => import('@/components/portfolio/CreateProjectButton');
|
||||||
export default {
|
export default {
|
||||||
components: {CreateProjectButton, PortfolioIllustration},
|
components: {CreateProjectButton, PortfolioIllustration},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {NEW_ROOM_PAGE} from '@/router/room.names';
|
import {NEW_ROOM_PAGE} from '@/router/room.names';
|
||||||
import RoomsIllustration from '@/components/illustrations/RoomsIllustration';
|
const RoomsIllustration = () => import('@/components/illustrations/RoomsIllustration');
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,10 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ContentsIllustration from '@/components/illustrations/ContentsIllustration';
|
const ContentsIllustration = () => import('@/components/illustrations/ContentsIllustration');
|
||||||
import PortfolioIllustration from '@/components/illustrations/PortfolioIllustration';
|
const PortfolioIllustration = () => import('@/components/illustrations/PortfolioIllustration');
|
||||||
import RoomsIllustration from '@/components/illustrations/RoomsIllustration';
|
const RoomsIllustration = () => import('@/components/illustrations/RoomsIllustration');
|
||||||
import HelloIllustration from '@/components/illustrations/HelloIllustration';
|
const HelloIllustration = () => import('@/components/illustrations/HelloIllustration');
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@
|
||||||
import HepLogoNoClaim from '@/components/icons/HepLogoNoClaim';
|
import HepLogoNoClaim from '@/components/icons/HepLogoNoClaim';
|
||||||
import EhbLogo from '@/components/icons/EhbLogo';
|
import EhbLogo from '@/components/icons/EhbLogo';
|
||||||
import Logo from '@/components/icons/Logo';
|
import Logo from '@/components/icons/Logo';
|
||||||
import HelloIllustration from '@/components/illustrations/HelloIllustration';
|
const HelloIllustration = () => import('@/components/illustrations/HelloIllustration');
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
mixins: [pageTitleMixin],
|
mixins: [pageTitleMixin],
|
||||||
|
|
|
||||||
|
|
@ -59,14 +59,14 @@
|
||||||
import NewsTeaser from '@/components/news/NewsTeaserOld.vue';
|
import NewsTeaser from '@/components/news/NewsTeaserOld.vue';
|
||||||
import HeaderBar from '@/components/HeaderBar';
|
import HeaderBar from '@/components/HeaderBar';
|
||||||
|
|
||||||
import ContentsIllustration from '@/components/illustrations/ContentsIllustration';
|
|
||||||
import PortfolioIllustration from '@/components/illustrations/PortfolioIllustration';
|
|
||||||
import RoomsIllustration from '@/components/illustrations/RoomsIllustration';
|
|
||||||
|
|
||||||
import MobileHeader from '@/components/MobileHeader';
|
import MobileHeader from '@/components/MobileHeader';
|
||||||
|
|
||||||
import meMixin from '@/mixins/me';
|
import meMixin from '@/mixins/me';
|
||||||
|
|
||||||
|
const ContentsIllustration = () => import('@/components/illustrations/ContentsIllustration');
|
||||||
|
const PortfolioIllustration = () => import('@/components/illustrations/PortfolioIllustration');
|
||||||
|
const RoomsIllustration = () => import('@/components/illustrations/RoomsIllustration');
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|
||||||
mixins: [meMixin],
|
mixins: [meMixin],
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@ const module = () => import('@/pages/module/module');
|
||||||
const submissions = () => import('@/pages/submissions');
|
const submissions = () => import('@/pages/submissions');
|
||||||
const moduleVisibility = () => import('@/pages/module/moduleVisibility');
|
const moduleVisibility = () => import('@/pages/module/moduleVisibility');
|
||||||
const settingsPage = () => import('@/pages/module/moduleSettings');
|
const settingsPage = () => import('@/pages/module/moduleSettings');
|
||||||
const snapshots = () => import('@/pages/module/moduleSettings');
|
const snapshots = () => import('@/pages/snapshot/snapshots');
|
||||||
const snapshot = () => import('@/pages/module/moduleSettings');
|
const snapshot = () => import('@/pages/snapshot/snapshot');
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue