在 Angular 应用程序的根目录下,可以找到 .schematics 文件夹。其中包含可以存储 schematics 缓存的文件夹。如果需要清除缓存,可以尝试删除此文件夹中的所有文件。
示例代码:
cd /path/to/angular/app rm -rf .schematics/
执行以上代码可以清除 schematics 缓存。
上一篇:Angularschematics-如何设置常量名称
下一篇:AngularSchematics跳过实现OnInit接口