From 5880e8d5b193ab550df20d8a529fc674309334ad Mon Sep 17 00:00:00 2001
From: bogdancar
+
+ Schematics collection to use.
+
@@ -21,7 +31,7 @@ Default applications are created in a directory of the same name, with an initia
-
Run through without making any changes. Will list all files that would have been created when running
- Should have an inline style.
+ Specifies if the style will be in the ts file.
- Should have an inline template.
+ Specifies if the template will be in the ts file.
collection
+ --collection (alias: -c) default value: @schematics/angular
+ directory
dry-run
--dry-run (alias: -d) default value: false
+ --dry-run (aliases: -d -dryRun) default value: false
ng new.
@@ -34,7 +44,7 @@ Default applications are created in a directory of the same name, with an initia
--inline-style (alias: -is) default value: false
--inline-template (alias: -it) default value: false
--minimal default value: false
- Should create a minimal app. + Create a minimal app (no test structure, inline styles/templates).
@@ -64,7 +74,7 @@ Default applications are created in a directory of the same name, with an initia--prefix (alias: -p) default value: app
- The prefix to use for all component selectors. + The prefix to apply to generated selectors.
You can later change the value in .angular-cli.json (apps[0].prefix).
@@ -77,14 +87,24 @@ Default applications are created in a directory of the same name, with an initia
--routing default value: false
- Generate a routing module. + Generates a routing module. +
+ + +
+ --service-worker default value: false
+
+ Installs the @angular/service-worker.
- --skip-commit (alias: -sc) default value: false
+ --skip-commit (aliases: -sc -skipCommit) default value: false
Skip committing the first commit to git.
@@ -104,7 +124,7 @@ Default applications are created in a directory of the same name, with an initia
-
Skip installing packages.
@@ -124,32 +144,19 @@ Default applications are created in a directory of the same name, with an initia
-
- The name of the source directory.
-
- You can later change the value in .angular-cli.json (
@@ -160,9 +167,24 @@ Default applications are created in a directory of the same name, with an initia
-
Adds more details to output logging.
+ skip-install
--skip-install (alias: -si) default value: false
+ --skip-install (aliases: -si -skipInstall) default value: false
source-dir
- --source-dir (alias: -sd) default value: src
- apps[0].root).
- style
--style default value: css
stylus)stylus)verbose
--verbose (alias: -v) default value: false
+ --verbose (aliases: -v -verbose) default value: false
view-encapsulation
+ --view-encapsulation
+
+
+