pinafore/routes/_components/Layout.html
2018-01-25 08:23:14 -08:00

26 lines
503 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 './virtualList/VirtualListContainer.html'
export default {
components: {
VirtualListContainer,
Nav
}
}
</script>