From f2ab9b3e9526e474e2e995aa5013e439d1cfbdfc Mon Sep 17 00:00:00 2001 From: philipp lang <philipp@aweos.de> Date: Sun, 2 Jan 2022 12:42:46 +0100 Subject: [PATCH] Add notification for Full layout --- resources/js/layouts/App.vue | 1 - resources/js/layouts/Full.vue | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/js/layouts/App.vue b/resources/js/layouts/App.vue index 0de3f6be..3648488c 100644 --- a/resources/js/layouts/App.vue +++ b/resources/js/layouts/App.vue @@ -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 ], diff --git a/resources/js/layouts/Full.vue b/resources/js/layouts/Full.vue index 5087370e..ee94c90c 100644 --- a/resources/js/layouts/Full.vue +++ b/resources/js/layouts/Full.vue @@ -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>