I am trying to install noty to get notifications in my laravel project, but it doesn't seem to be working, I always get that Noty is not defined, I have tried everything and don't really know what to do, any solution?
Instalation:
App.scss:
Bootstrap.js:
app.blade.php:
Error:
Uncaught ReferenceError: Noty is not defined
I would appreciate some help.
Fixed it by adding a window.onload function
try add run this when you want to test:
npm run dev
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.