chore: init
This commit is contained in:
commit
8424b7b98b
27 changed files with 7424 additions and 0 deletions
15
layouts/README.md
Normal file
15
layouts/README.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
## Layouts
|
||||
|
||||
Vue components in this dir are used as layouts.
|
||||
|
||||
By default, `default.vue` will be used unless an alternative is specified in the route meta.
|
||||
|
||||
```html
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
layout: 'home',
|
||||
})
|
||||
</script>
|
||||
```
|
||||
|
||||
Learn more on https://v3.nuxtjs.org/guide/directory-structure/layouts
|
5
layouts/default.vue
Normal file
5
layouts/default.vue
Normal file
|
@ -0,0 +1,5 @@
|
|||
<template>
|
||||
<main class="py-20 px-10">
|
||||
<slot />
|
||||
</main>
|
||||
</template>
|
9
layouts/home.vue
Normal file
9
layouts/home.vue
Normal file
|
@ -0,0 +1,9 @@
|
|||
<template>
|
||||
<main class="py-20 px-10 text-center">
|
||||
<slot />
|
||||
<Footer />
|
||||
<div class="mt-5 mx-auto text-center opacity-25 text-sm">
|
||||
[Home Layout]
|
||||
</div>
|
||||
</main>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue