I am using angular-cli for my angular2 project. In my project, I want to use jquery-ui. I installed jquery-ui using
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 will it be automatically updated in the dist / vendor folder, do I need to add css files (for example, css / jquery-ui.css) to my index.html?
I followed the integration of the moment. js from this link , but it did not help with jquery-ui. I would appreciate a working example of integrating jquery-ui with angular-cli
source share