How can I create a folder with Lazy Loading Prefix (+) using angular cli?

We started rewriting our angular 2 app , using mostly angular-cli to create components, etc.

Now the problem is to stick to the Style Guide, the main component folders, which can later be lazy loaded, must be prefixed "+"

.

Using --help

the cli generation commands, I could see two options:

--prefix
--route. 

      

But setting these values ​​to true did not affect the name of the generated folder.

Now my question is, what's the correct way to generate lazy loaded prefixed folders "+"

using angular-cli?

+1


source to share


1 answer


+

was automatically generated when creating routes that are currently disabled as new router integration is added.



As the saying goes, the style guide will likely be updated to remove this sentence as several web servers have problems with this symbol.

+2


source







All Articles