This is a fork from the original ng-rn which wasn't maintained for the last few years and hasn't merged a fix for newer Angular Versions.
npx ng-rnc old-button fancy-button
npm i -g ng-rnc
cd /path/to/angular-project/
ng-rnc old-button fancy-button
The Tool looks for the components in src/app/
. If your components are located in a more complex path like src/app/my-vip-components
, just change directory:
cd src/app/my-vip-components
ng-rnc old-button fancy-button