Last active
December 12, 2019 22:00
-
-
Save AvocadoVenom/5fc41fe2159b1378b40b249b5e71b0cf to your computer and use it in GitHub Desktop.
Angular schematic : ADP folders
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function createAtomicDesignPatternFolders(options: ModuleOptions): Rule { | |
| return (tree: Tree, _: SchematicContext) => { | |
| tree.create(normalize(`${options.name}/components/atoms/.gitkeep`), ''); | |
| tree.create(normalize(`${options.name}/components/molecules/.gitkeep`), ''); | |
| tree.create(normalize(`${options.name}/components/organisms/.gitkeep`), ''); | |
| tree.create(normalize(`${options.name}/components/pages/.gitkeep`), ''); | |
| return tree; | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment