Skip to content

Instantly share code, notes, and snippets.

@gearmobile
Created September 14, 2017 09:49
Show Gist options
  • Save gearmobile/6f8e88cb5d24ded835be49570a0719ea to your computer and use it in GitHub Desktop.
Save gearmobile/6f8e88cb5d24ded835be49570a0719ea to your computer and use it in GitHub Desktop.
<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