yarn ngc使用练习

111 阅读1分钟

使用ng new module创建一个新的Angular项目:

ng new后面跟的字符串就是Angular项目的文件夹名称:

错误消息:No inputs were found in config file tsconfig.json. Specified include paths where XXX and exclude paths were XXX

直接运行yarn命令:

fetching packages:

本地yarn文件安装地址:

yarn ngc -p:

compiler option project expects an argument

-p 参数后面必须跟配置文件地址

更多Jerry的原创文章,尽在:“汪子熙”: