mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 21:57:47 +02:00
Enable the Vue 3 front-end
This commit is contained in:
20
resources/js/layouts/FormWrapper.vue
Normal file
20
resources/js/layouts/FormWrapper.vue
Normal file
@ -0,0 +1,20 @@
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
title: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
punchline: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ResponsiveWidthWrapper>
|
||||
<h1 class="title has-text-grey-dark" v-html="$t(title)" v-if="title"></h1>
|
||||
<div id="punchline" v-if="punchline" class="block" v-html="$t(punchline)" />
|
||||
<slot />
|
||||
</ResponsiveWidthWrapper>
|
||||
</template>
|
Reference in New Issue
Block a user