Skip to content

Commit

Permalink
chore(skeleton): view with layout component
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Dec 28, 2023
1 parent 7d814db commit 1fd6218
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<NuxtLayout>
<NuxtPage />
</div>
</NuxtLayout>
</template>
7 changes: 7 additions & 0 deletions layouts/default.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<template>
<div class="min-h-screen">
<div class="max-w-screen-2xl mx-auto xl:flex-row">
<slot />
</div>
</div>
</template>

0 comments on commit 1fd6218

Please sign in to comment.