Move everything back to vue SFCs
This commit is contained in:
parent
761704408e
commit
5bff8d99cc
58 changed files with 2558 additions and 2518 deletions
18
resources/assets/scripts/components/MessageBox.vue
Normal file
18
resources/assets/scripts/components/MessageBox.vue
Normal file
|
@ -0,0 +1,18 @@
|
|||
<template>
|
||||
<div class="lg:inline-flex" role="alert">
|
||||
<span class="title" v-html="title" v-if="title && title.length > 0"></span>
|
||||
<span class="message" v-html="message"></span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
|
||||
export default Vue.extend({
|
||||
name: 'MessageBox',
|
||||
props: {
|
||||
title: {type: String, required: false},
|
||||
message: {type: String, required: true}
|
||||
},
|
||||
});
|
||||
</script>
|
Reference in a new issue