pinafore/routes/_components/Layout.html
2018-01-24 09:47:31 -08:00

26 lines
491 B
HTML

<Nav :page :dynamicPage :dynamicHref :dynamicIcon :dynamicLabel/>
{{#if virtual}}
<VirtualListContainer storeKey="{{virtualStoreKey}}">
<main>
<slot></slot>
</main>
</VirtualListContainer>
{{else}}
<div class="container">
<main>
<slot></slot>
</main>
</div>
{{/if}}
<script>
import Nav from './Nav.html';
import VirtualListContainer from './VirtualListContainer.html'
export default {
components: {
VirtualListContainer,
Nav
}
}
</script>