mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-11 09:45:24 +01:00
13 lines
218 B
HTML
13 lines
218 B
HTML
<div class="{{hidden ? 'hidden' : ''}}">
|
|
<slot></slot>
|
|
</div>
|
|
<script>
|
|
export default {
|
|
data: () => ({
|
|
hidden: true
|
|
}),
|
|
oncreate () {
|
|
this.set({hidden: !process.browser})
|
|
}
|
|
}
|
|
</script> |