Created
September 14, 2017 09:49
-
-
Save gearmobile/6f8e88cb5d24ded835be49570a0719ea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<div class="jumbotron">...</div> | |
<below-fold></below-fold> | |
<home-modal v-if="show" :show="show"></home-modal> | |
</div> | |
</template> | |
<script> | |
const BelowFold = () => import( | |
/* webpackChunkName: "below-fold" */ './BelowFold.vue' | |
); | |
const HomeModal = () => import( | |
/* webpackChunkName: "modal" */ './HomeModal.vue' | |
); | |
export default { | |
data() { | |
return { | |
show: false | |
} | |
}, | |
components: { | |
HomeModal, | |
BelowFold | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment