angular - Using Jquery in Angular2 components -
in node js application , have installed jquery node module. in order use jquery in angular2 components have include below statement in components.
const $ = global.jquery = require('jquery');
i using webpack module loading.
my question is correct way of implemention
or
should follow other approach ?
Comments
Post a Comment