I am using angular-cli for my angular2 project. In my project I want to use jquery-ui. I installed jquery-ui with
npm install jquery jquery-ui
I edited my angular-cli-build.js
module.exports = function(defaults) {
return new Angular2App(defaults, {
vendorNpmFiles: [
'jquery/src/jquery.js',
'jquery-ui/jquery-ui.js'
]
});
};
How it will update automatically in my dist/vendor folder , Do I need to add the css files (like css/jquery-ui.css) in my index.html like ?
I have followed the moment.js integration from this link but it didnt help with jquery-ui. I will appreciate a working example of jquery-ui integration with angular-cli