aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/App.vue b/src/App.vue
index c7c24ef..abbb362 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -16,9 +16,11 @@ const layout = computed(() => route?.meta?.layout ?? layouts.base)
<template>
<n-config-provider>
<n-global-style />
- <component :is="layout">
- <router-view />
- </component>
+ <n-message-provider placement="bottom">
+ <component :is="layout">
+ <router-view />
+ </component>
+ </n-message-provider>
</n-config-provider>
</template>