在创建模块时的角度 CLI 中,我们可以添加 --routing-scope 作为参数。
ng g m dashboard --routing-scope something-here --routing
使用此命令时出现错误:
Schematic input does not validate against the
Schema: {"routingScope":"dashboard","routing":false,"spec":true,"flat":false,"commonModule":true}
Errors: Data path ".routingScope" should be equal to one of the allowed values.
但是允许的值是多少?
文档中未描述此参数。