Reputation: 1
I am using angular version of @angular/cli": "~8.3.25 and ngx-bootstrap": "^5.3.2", and now I want to update my ngx-bootstrap version to ngx-bootstrap": "^8.0.0" so what is the way to update the ngx-bootstrap version to latest version in existing angular project with out affecting all the functionality .
Upvotes: 0
Views: 3947
Reputation: 1925
One can install specific version of a package by
npm i package_name@version
In your case it will be
npm i [email protected] --save
--save flag register package to your package.json dependencies.
Upvotes: 5
Reputation: 362
you can try this
ng update ngx-bootstrap
but I'm not sure that nothing will break, probably it will be necessary to manually update the components if there are breaking changes
Upvotes: 2