Finish auth migration, now to make it work
This commit is contained in:
parent
3b553beac6
commit
75ba2eac39
13 changed files with 375 additions and 384 deletions
14
resources/assets/scripts/components/MessageBox.ts
Normal file
14
resources/assets/scripts/components/MessageBox.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import Vue from 'vue';
|
||||
|
||||
export default Vue.component('message-box', {
|
||||
props: {
|
||||
title: {type: String, required: false},
|
||||
message: {type: String, required: true}
|
||||
},
|
||||
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>
|
||||
`,
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue