简体   繁体   中英

How do I install ngc as a project specific cli tool?

I am trying to install the angular compiler (ngc) as a project specific dependency for my nativescript plugin. But there is no info on how to install it.

I want to be able to run:

./node_modules/.bin/ngc

可以使用安装编译器的ngc命令行工具

npm add @angular/compiler-cli

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM