Generates the specified schematic.
ng generate <name> [options]or ng g <name> [options] generates the specified schematic.
ng generate <name> [options]
ng g <name> [options]
application
class
component
directive
enum
guard
interface
module
pipe
service
library
universal
--dry-run (alias: -d) Run through without making any changes.force
--dry-run
-d
--force (alias: -f) Forces overwriting of files.
--force
-f
Last updated 7 years ago