Manage multiple versions of angular-cli

For some reason, I have to use angular -cli@1.0.0-beta.22 when I work on one project. But on new projects, I would like to use the latest version without worrying about this limitation.

I set angular cli to global and to devDependencies

How can I use the "local" version of angular-cli in a project? I tried ./node_modules/.bin/ng generate [...], but it does not work

Thank!

+4
source share

Source: https://habr.com/ru/post/1665521/


All Articles