No outer n-notification-provider
found - HELP Needed
#5151
Unanswered
harshuchilzy
asked this question in
Q&A
Replies: 1 comment
-
you need to restructure to be something like this https://github.com/Talljack/naive-ui-provider . It is because the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a laravel app which is running on the Vue3. Althought I am getting this error when I try to use the notification. Can somebody help me to resolve it.
Uncaught (in promise) Error: [naive/use-notification]: No outer
n-notification-provider
found.Importing the NaiveUI
import { NConfigProvider, NNotificationProvider, NLayout, NMessageProvider, NLoadingBarProvider, NDialogProvider } from "naive-ui";
AppLayout.vue
On my component I am using the Notifications via
let notification = useNotification();
When I put this, above error is on console and page won't render at all. Please help
Beta Was this translation helpful? Give feedback.
All reactions