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
then the client app will be compiled during the Maven build.
188
189
190
+
### Stabilize the Build
191
+
192
+
If you want a stable build you should put a `^` before the version of `@angular/cli` in your `package.json`. It isn't added by default when you do `ng new`, but it protects you from changes in the CLI. Example:
193
+
194
+
.package.json
195
+
```
196
+
...
197
+
"devDependencies": {
198
+
"@angular/cli": "^1.4.9",
199
+
...
200
+
```
201
+
189
202
## Development Time
190
203
191
204
You can build continuously with
@@ -232,19 +245,33 @@ You can add basic Twitter Bootstrap features to make the app look a bit less dul
232
245
$ ./npm install bootstrap@3 jquery --save
233
246
```
234
247
235
-
and update `.angular-cli.json` to add the new content:
248
+
and update `.angular-cli.json` to add the new content to the app with "root=src". Before:
Some basic features are included in the default scaffolding app, including the HTTP client, HTML forms support and navigation using the `Router`. All of them are extremely well documented at [angular.io](https://angular.io), and there are thousands of examples out in the internet of how to use those features.
@@ -290,6 +317,9 @@ Notice how the `AppComponent` has an `HttpClient` injected into its constructor.
0 commit comments