mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add layout component
This commit is contained in:
parent
39f6a5f70f
commit
fe6558b391
1 changed files with 18 additions and 0 deletions
18
components/layout.vue
Normal file
18
components/layout.vue
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue