Closed iammichiel closed 3 years ago
$(...).pickadate
You have to install jQuery (as devDependency), import / require it and bundle it using the externals
config from webpack.
Also please provide a reproducible testcase (as repository) so we can check that if externals
does not solve your issue.
I can confirm. Using externals option in webpack.config.js
works well.
module.exports = {
//...
externals: {
jquery: 'jQuery'
}
};
Closing as this should be resolved with the correct webpack setup and configuration.
Hi there,
I am trying to integrate pickadate in a modern front-end workflow. We are using Webpack and I would like to add this part of the app to that workflow. Everything compiles fine but at runtime, I have :
$(...).pickadate is not a function
error.I have tried about everything discussed here and there online :
Related issues : #870 , #775 , #772 #779
So far nothing works.