Search code examples
angularvmware-clarity

Update Clarity Seed Project


I've started developing an Angular 4 application using Clariy. I've started the project cloning the Clarity seed project, and with that base, I've started building my components.

How can I update Clarity to the last version? I would like to keep Clarity updated as musch as I can while I'm developing the product.

Thanks!


Solution

  • If you update the Clarity version in the Clarity package.json to the Clarity version you want to install as James said aove all you have to do is run npm install and the package will update. Note, there are three Clarity libraries to update in the seed project:

    1. @clr/angular or clarity-angular if you are before 0.11
    2. @clr/ui or clarity-ui if you are before 0.11
    3. @clr/icons or clarity-icons if you are before 0.11

    You can see the latest version (as well as what has changed) on our documentation site here.