You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ The CLI supports routing in several ways:
126
126
127
127
The `--routing` option also generates a default component with the same name as the module.
128
128
129
-
- You can use the `--routing` option with `ng new`or `ng init`to create a `app-routing.module.ts` file when you create or initialize a project.
129
+
- You can use the `--routing` option with `ng new` to create a `app-routing.module.ts` file when you create or initialize a project.
130
130
131
131
132
132
### Creating a build
@@ -441,12 +441,12 @@ Local project package:
441
441
rm -rf node_modules dist # use rmdir on Windows
442
442
npm install --save-dev angular-cli@latest
443
443
npm install
444
-
ng init
444
+
ng update
445
445
```
446
446
447
-
Running `ng init` will check for changes in all the auto-generated files created by `ng new` and allow you to update yours. You are offered four choices for each changed file: `y` (overwrite), `n` (don't overwrite), `d` (show diff between your file and the updated file) and `h` (help).
447
+
Running `ng update` will check for changes in all the auto-generated files created by `ng new` and allow you to update yours. You are offered four choices for each changed file: `y` (overwrite), `n` (don't overwrite), `d` (show diff between your file and the updated file) and `h` (help).
448
448
449
-
Carefully read the diffs for each code file, and either accept the changes or incorporate them manually after `ng init` finishes.
449
+
Carefully read the diffs for each code file, and either accept the changes or incorporate them manually after `ng update` finishes.
450
450
451
451
**The main cause of errors after an update is failing to incorporate these updates into your code**.
Copy file name to clipboardExpand all lines: docs/design/docker-deploy.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Provide tasks for common Docker workflows:
15
15
16
16
1. Requires user to have Docker CLI tools installed.
17
17
(See also: ["Implementation Approaches"](#implementation-approaches))
18
-
1. User is free to use the Angular CLI without Docker (and vice versa). By default, do not generate Docker files upon creation of a new project (`ng new`, `ng init`).
18
+
1. User is free to use the Angular CLI without Docker (and vice versa). By default, do not generate Docker files upon creation of a new project (`ng new`).
19
19
1. Don't recreate the wheel. Docker CLI tools are very full featured on their own. Implement the common Docker use cases that make it convenient for Angular applications.
20
20
1. Don't inhibit users from using the standalone Docker CLI tools for other use cases.
21
21
1. Assumes 1:1 Dockerfile with the Angular project. Support for multiple services under the same project is outside the scope of this initial design.
0 commit comments