Skip to content

Commit c7cc74a

Browse files
README.md
1 parent a71c239 commit c7cc74a

1 file changed

Lines changed: 21 additions & 4 deletions

File tree

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,44 @@
1-
# NwAngular
1+
# NW.js and Angular CLI example
22

33
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.3.
44

5-
## Development server
65

7-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
6+
## Running Locally for development
7+
8+
1. `npm install`
9+
1. `npm start`
10+
1. An empty window while pop up while Webpack to warm ups
11+
1. Once Webpack is running, refresh the window and you're golden
12+
813

914
## Code scaffolding
1015

11-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
16+
1. `npm install -g @angular/cli`
17+
1. Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
18+
19+
20+
* * *
21+
22+
The following instructions came from the Angular CLI, I haven't tested them yet though.
23+
24+
* * *
25+
1226

1327
## Build
1428

1529
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
1630

31+
1732
## Running unit tests
1833

1934
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
2035

36+
2137
## Running end-to-end tests
2238

2339
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
2440

41+
2542
## Further help
2643

2744
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

0 commit comments

Comments
 (0)