I have a project generated from VS 2017 Angular 4 +Asp Core template and I want to use a jQuery plugin so I need to import jQuery,in my .ts file I've used:
declare var $: any;
in webpack.config.vendor.js I have
plugins: [
new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery' }),
but in console I got this error:
Uncaught ReferenceError: jQuery is not defined
thanks