Add notification for Full layout

This commit is contained in:
philipp lang 2022-01-02 12:42:46 +01:00
parent ada4715a81
commit f2ab9b3e95
2 changed files with 4 additions and 3 deletions
resources/js/layouts

View File

@ -41,7 +41,6 @@ import { debounce } from 'lodash';
import mergesQueryString from '../mixins/mergesQueryString.js';
import Notification from '../components/Notification.vue';
export default {
components: { Notification, VLink },
mixins: [ mergesQueryString ],

View File

@ -1,5 +1,6 @@
<template>
<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">
<slot></slot>
</div>
@ -7,8 +8,9 @@
</template>
<script>
import Notification from '../components/Notification.vue';
export default {
computed: {
}
components: { Notification },
};
</script>