Skip to content

Instantly share code, notes, and snippets.

@bymathias
Created August 1, 2020 14:56
Show Gist options
  • Save bymathias/e259a36f9fcd1136c4bc31c1a510dc2d to your computer and use it in GitHub Desktop.
Save bymathias/e259a36f9fcd1136c4bc31c1a510dc2d to your computer and use it in GitHub Desktop.
<template>
<div class="view-bare">
<app-navbar/>
<div id="wrapper">
<slot></slot>
</div>
<app-footer/>
</div>
</template>
<script>
// @ is an alias to /src
import AppNavbar from '@/components/AppNavbar'
import AppFooter from '@/components/AppFooter'
export default {
name: 'view-default',
components: {
AppNavbar,
AppFooter
}
}
</script>
<style lang="scss" scoped>
.view-bare {
display: flex;
min-height: 100vh;
flex-direction: column;
justify-content: space-between;
}
#wrapper {
margin: 0 auto;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment