2018-03-13 17:14:57 -07:00
|
|
|
{{#if revealed}}
|
|
|
|
<:Component {pageComponent} :params />
|
|
|
|
{{/if}}
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
oncreate() {
|
2018-03-27 19:46:01 -07:00
|
|
|
requestAnimationFrame(() => {
|
|
|
|
requestAnimationFrame(() => {
|
|
|
|
this.set({revealed: true})
|
|
|
|
})
|
|
|
|
})
|
2018-03-13 17:14:57 -07:00
|
|
|
},
|
|
|
|
data: () => ({
|
|
|
|
revealed: !process.browser
|
|
|
|
})
|
|
|
|
}
|
|
|
|
</script>
|