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
@@ -125,7 +125,7 @@ The CLI supports routing in several ways:
125
125
126
126
The `--routing` option also generates a default component with the same name as the module.
127
127
128
-
- 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.
128
+
- You can use the `--routing` option with `ng new` to create a `app-routing.module.ts` file when you create or initialize a project.
129
129
130
130
<!-- DeleteSection1 Start here to remove upon next release -->
131
131
### Creating a build
@@ -440,12 +440,12 @@ Local project package:
440
440
rm -rf node_modules dist # use rmdir on Windows
441
441
npm install --save-dev angular-cli@latest
442
442
npm install
443
-
ng init
443
+
ng update
444
444
```
445
445
446
-
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).
446
+
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).
447
447
448
-
Carefully read the diffs for each code file, and either accept the changes or incorporate them manually after `ng init` finishes.
448
+
Carefully read the diffs for each code file, and either accept the changes or incorporate them manually after `ng update` finishes.
449
449
450
450
**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