Skip to content

Commit 1ced048

Browse files
committed
Change readme
1 parent b6528e2 commit 1ced048

File tree

1 file changed

+8
-24
lines changed

1 file changed

+8
-24
lines changed

README.md

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,11 @@
1-
# NgLazyScript
1+
# @ueler/ng-lazyload-script
2+
[![npm version](https://badge.fury.io/js/%40ueler%2Fng-lazyload-script.svg)](https://badge.fury.io/js/%40ueler%2Fng-lazyload-script)
23

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.6.
4+
Load external javascript libraries/files (e.g. Google Maps JavaScript API, Stripe JavaScript API, ...) in your components and services on the fly (when you need them) and execute code as soon as it's loaded.
45

5-
## Development server
6+
## Installation
7+
Using npm:
8+
```
9+
npm i --save @ueler/ng-lazyload-script
10+
```
611

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.
8-
9-
## Code scaffolding
10-
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`.
12-
13-
## Build
14-
15-
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.
16-
17-
## Running unit tests
18-
19-
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20-
21-
## Running end-to-end tests
22-
23-
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
24-
25-
## Further help
26-
27-
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)