primefaces / sakai-vue

https://sakai.primevue.org
MIT License
471 stars 257 forks source link

Uncaught (in promise) Error: No PrimeVue Toast provided! #9

Closed alphayowakarindi closed 8 months ago

alphayowakarindi commented 1 year ago

I'm adding the template to an existing project and everything works fine. However, when I add the Crud page I get the error Uncaught (in promise) Error: No PrimeVue Toast provided!.

I tried to move the Not Found page and that worked. Kindly assist.

tugcekucukoglu commented 8 months ago

ToastService must be imported in main.js file

import ToastService from 'primevue/toastservice';

const app = createApp(App);
app.use(ToastService);