Home:ALL Converter>What does --routing-scope stands for in Angular CLI

What does --routing-scope stands for in Angular CLI

Ask Time:2018-07-02T21:52:11         Author:Tukkan

Json Formatter

In angular CLI when creating module we can add --routing-scope as a parameter.

ng g m dashboard --routing-scope something-here --routing

when using this command I get error:

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.

But what are the allowed values?

This parameter is not described in the docs.

Author:Tukkan,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/51137813/what-does-routing-scope-stands-for-in-angular-cli
yy