Closed mrjohnmain closed 4 years ago
I am trying to do some really vanilla work with PNotify but running into an error. I'm installed with NPM and added these lines to my main app.js:
import PNotify from 'pnotify/dist/es/PNotifyNonBlock'; import PNotifyButtons from 'pnotify/dist/es/PNotifyButtons';
But I continually get this error in the console:
TypeError: pnotify_dist_es_PNotifyNonBlock__WEBPACK_IMPORTED_MODULE_0__.default.prototype.options is undefined
I've not tried to do anything functionally with it yet - this is immediately on page load.
Can anyone help? TIA :)
I am trying to do some really vanilla work with PNotify but running into an error. I'm installed with NPM and added these lines to my main app.js:
import PNotify from 'pnotify/dist/es/PNotifyNonBlock'; import PNotifyButtons from 'pnotify/dist/es/PNotifyButtons';
But I continually get this error in the console:
TypeError: pnotify_dist_es_PNotifyNonBlock__WEBPACK_IMPORTED_MODULE_0__.default.prototype.options is undefined
I've not tried to do anything functionally with it yet - this is immediately on page load.
Can anyone help? TIA :)