mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-12 10:16:16 +01:00
24 lines
383 B
HTML
24 lines
383 B
HTML
<:Window bind:online />
|
|
<Nav :page />
|
|
|
|
<div class="container">
|
|
<main>
|
|
<slot></slot>
|
|
</main>
|
|
</div>
|
|
<script>
|
|
import Nav from './Nav.html';
|
|
import { store } from '../_store/store'
|
|
|
|
export default {
|
|
oncreate() {
|
|
this.observe('online', online => {
|
|
this.store.set({online: online})
|
|
})
|
|
},
|
|
components: {
|
|
Nav
|
|
},
|
|
store: () => store
|
|
}
|
|
</script> |