Closed killemalljustice closed 2 years ago
Hi, I think the problem is that you are registering the library as a component, here:
.component('Notifications', Notifications)
You have to install it as a plugin:
.use(Notifications)
Here is an example in the README.
Hi, I think the problem is that you are registering the library as a component, here:
.component('Notifications', Notifications)
You have to install it as a plugin:
.use(Notifications)
Here is an example in the README.
Thank you, that was the problem.
Hi, i am trying to use this component in a Inertia.js (Jetstream) app, i import the component in app.js:
and in my AppLayout.vue file i added the basic example to the template:
Then when loading the page i got this errors:
Any ideas of what could be wrong??
Thanks for the help.