Skip to content

Commit f63fdf7

Browse files
committed
👕 ref: add default layout with NavBar component
1 parent 4bd7335 commit f63fdf7

File tree

7 files changed

+3165
-78
lines changed

7 files changed

+3165
-78
lines changed

app.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<template>
22
<div>
3-
<NuxtPage />
3+
<NuxtLayout>
4+
<NuxtPage />
5+
</NuxtLayout>
46
</div>
57
</template>

layouts/default.vue

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<template>
2+
<div>
3+
<NavBar />
4+
<slot />
5+
</div>
6+
</template>

0 commit comments

Comments
 (0)