Difference between revisions of "IT-SDK-Angular"
Jump to navigation
Jump to search
| Line 5: | Line 5: | ||
* SRC: https://www.whitehorses.nl/blog/running-angular-application-docker-dummies | * SRC: https://www.whitehorses.nl/blog/running-angular-application-docker-dummies | ||
* Angular requires Node.js version 10.9.0 or later. | * Angular requires Node.js version 10.9.0 or later. | ||
| − | + | ==Life-Cycle: ng== | |
<pre class="code"> | <pre class="code"> | ||
| − | npm install -g @angular/cli | + | $ npm install -g @angular/cli |
| − | ng new my-app | + | $ ng new my-app |
| − | ng serve --open | + | $ ng serve --open --port 4321 |
| + | </pre> | ||
| + | ==Angular-CLI Options== | ||
| + | <pre class="code"> | ||
| + | new : Greate new workspace. | ||
| + | build : Compiles the app. | ||
| + | serve : Builds and Serves the app. | ||
| + | deploy : Invokes the builder for a specified project. | ||
</pre> | </pre> | ||
Revision as of 16:31, 3 December 2019
- Source: https://angular.io/docs
- Source: https://blog.codecentric.de/en/2019/03/docker-angular-dockerize-app-easily/
- Source: https://mherman.org/blog/dockerizing-an-angular-app/
- SRC: https://malcoded.com/posts/angular-docker/
- SRC: https://www.whitehorses.nl/blog/running-angular-application-docker-dummies
- Angular requires Node.js version 10.9.0 or later.
Life-Cycle: ng
$ npm install -g @angular/cli $ ng new my-app $ ng serve --open --port 4321
Angular-CLI Options
new : Greate new workspace. build : Compiles the app. serve : Builds and Serves the app. deploy : Invokes the builder for a specified project.