Add layout component

This commit is contained in:
Sam Carlton 2020-09-19 16:18:34 -05:00
parent 39f6a5f70f
commit fe6558b391

18
components/layout.vue Normal file
View file

@ -0,0 +1,18 @@
<template>
<div class="app-wrapper text-gray-300 bg-gray-800">
<Navbar />
<div class="app-main min-h-screen flex items-center">
<slot />
</div>
</div>
</template>
<script>
import Navbar from '~/components/navbar.vue'
export default {
components: {
Navbar
}
}
</script>