You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I would like to install PNotify in my symfony 4 project with webpackEncore. When I test a notification I get the error message PNotify is not defined.
You're trying to load the ES5 module version of PNotify. I don't think that's what you want. You probably want the IIFE version, if you're not using ES5 imports throughout your project.
You're including PNotify 4, but you're using the PNotify 3 API. If you have to use the PNotify 3 API for some reason, you should use the PNotifyCompat module. Otherwise, switch to the PNotify 4 API.
You're trying to use modules without loading them. 'nonblock' and 'before_close' are module options, but you're only loading the core PNotify script.
Hello,
I would like to install PNotify in my symfony 4 project with webpackEncore. When I test a notification I get the error message PNotify is not defined.
My Webpack config :
The text was updated successfully, but these errors were encountered: