15 lines
312 B
HTML
15 lines
312 B
HTML
{{#if revealed}}
|
|
<:Component {pageComponent} :params />
|
|
{{/if}}
|
|
<script>
|
|
import { scheduleIdleTask } from '../_utils/scheduleIdleTask'
|
|
|
|
export default {
|
|
oncreate() {
|
|
scheduleIdleTask(() => this.set({revealed: true}))
|
|
},
|
|
data: () => ({
|
|
revealed: !process.browser
|
|
})
|
|
}
|
|
</script> |