feat(angular): update readme

This commit is contained in:
Victor Savkin 2019-02-28 14:04:58 -05:00
parent a063168a82
commit 67b68e34e2
2 changed files with 12 additions and 15 deletions

View File

@ -100,6 +100,6 @@ ng serve todos
## Open http://localhost:4200 in the browser. What do you see?
Page saying "This project was generated with Angular CLI using Nrwl Nx"
Page saying "This project was generated using Nx"
Page saying "This project was created using Angular CLI"
404

View File

@ -1,26 +1,24 @@
# <%= utils.classify(name) %>
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) using [Nrwl Nx](https://nrwl.io/nx).
This project was generated using [Nx](https://nx.dev).
## Nrwl Extensions for Angular (Nx)
<p align="center"><img src="https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png"></p>
<a href="https://nrwl.io/nx"><img src="https://preview.ibb.co/mW6sdw/nx_logo.png"></a>
Nx is an open source toolkit for enterprise Angular applications.
Nx is designed to help you create and build enterprise grade Angular applications. It provides an opinionated approach to application project structure and patterns.
🔎 **Nx is a set of Angular CLI power-ups for modern development.**
## Quick Start & Documentation
[Watch a 5-minute video on how to get started with Nx.](http://nrwl.io/nx)
[30-minute video showing all Nx features](https://nx.dev/getting-started/what-is-nx)
[Interactive tutorial](https://nx.dev/tutorial/01-create-application)
## Generate your first application
Run `ng generate app myapp` to generate an application. When using Nx, you can create multiple applications and libraries in the same CLI workspace. Read more [here](http://nrwl.io/nx).
Run `ng g app myapp` to generate an application. When using Nx, you can create multiple applications and libraries in the same CLI workspace.
## Development server
Run `ng serve --project=myapp` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
Run `ng serve myapp` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
@ -28,16 +26,15 @@ Run `ng generate component component-name --project=myapp` to generate a new com
## Build
Run `ng build --project=myapp` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
Run `ng build myapp` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
Run `ng test` to execute the unit tests via [Jest](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.
Run `ng e2e` to execute the end-to-end tests via [Cypress](http://www.protractortest.org/).
## Further help