Skip to content

Commit 30d4f16

Browse files
committed
layout 追加
1 parent a08d7bd commit 30d4f16

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

layouts/default.vue

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<template>
2+
<div class="deafult-layout">
3+
<slot />
4+
</div>
5+
</template>
6+
7+
<style scoped>
8+
.deafult-layout {
9+
margin: 0 auto;
10+
padding-block: 1rem;
11+
max-width: min(30rem, calc(100% - 2rem));
12+
min-height: 100vh;
13+
box-sizing: border-box;
14+
}
15+
</style>

0 commit comments

Comments
 (0)