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