I ve just strated to learn about Schematics , my first task is to generate a custom tree of folders and empty files using a custom shematic inside my Angular app
for example :
i want to generate this tree:
folderOne
|__ fileOne.ts
folderTwo
|__ fileTwo.ts
folderThree
|__ subfolderA
|__ fileThree.ts
Of course it should depend on the the source place of running the schematic command
(relative path)
Is there any fast (template) way to do it ?
Suggestions ??
In your files template
your schematic function:
and in your schema.json