@@ -1,5 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<slot />
|
||||
</div>
|
||||
<main class="w-full h-dvh flex flex-col">
|
||||
<HeaderCom />
|
||||
<div class="min-h-0 flex-1 px-4 overflow-y-auto flex">
|
||||
<div
|
||||
class="w-full"
|
||||
:class="{ 'm-auto max-w-sm': $route.path.includes('login') }"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<template>
|
||||
<main class="min-h-dvh w-full flex items-center justify-center p-6">
|
||||
<slot />
|
||||
</main>
|
||||
</template>
|
||||
Reference in New Issue
Block a user