Add notification for Full layout
This commit is contained in:
parent
ada4715a81
commit
f2ab9b3e95
|
@ -41,7 +41,6 @@ import { debounce } from 'lodash';
|
||||||
import mergesQueryString from '../mixins/mergesQueryString.js';
|
import mergesQueryString from '../mixins/mergesQueryString.js';
|
||||||
import Notification from '../components/Notification.vue';
|
import Notification from '../components/Notification.vue';
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { Notification, VLink },
|
components: { Notification, VLink },
|
||||||
mixins: [ mergesQueryString ],
|
mixins: [ mergesQueryString ],
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="app" class="bg-gray-900 font-sans flex flex-col flex-grow items-center justify-center">
|
<div id="app" class="bg-gray-900 font-sans flex flex-col flex-grow items-center justify-center">
|
||||||
|
<notification class="fixed z-40 right-0 bottom-0 mb-3 mr-3"></notification>
|
||||||
<div class="w-96 bg-gray-800 rounded-xl overflow-hidden shadow-lg">
|
<div class="w-96 bg-gray-800 rounded-xl overflow-hidden shadow-lg">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
|
@ -7,8 +8,9 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Notification from '../components/Notification.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
computed: {
|
components: { Notification },
|
||||||
}
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue