Skip to content

Commit

Permalink
docs($build): update docs and .npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Hodges committed Apr 27, 2017
1 parent 2b95fa0 commit b7c1a48
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ Thumbs.db

docs
src
*.ngfactory.ts
lib
tools
*.ngfactory.ts
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ node_js:
- '4'
before_script:
- npm prune
script:
- npm run build
after_success:
- npm run semantic-release
branches:
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@ Angular 4 Component for embedding a gist within an Angular site

In order to use the component in your Angular 4 project after installation, follow these steps:

- Declare `ngxGist` within app.module.ts

```@NgModule({
- Declare `NgxGistModule` within app.module.ts
```typescript
import { NgxGistModule } from 'ngx-gist/dist/ngx-gist.module';
```
```typescript
@NgModule({
declarations: [
AppComponent,
ngxGist
AppComponent
],
imports: [
BrowserModule,
FormsModule,
HttpModule
HttpModule,
NgxGistModule
],
providers: [],
bootstrap: [AppComponent]
Expand Down

0 comments on commit b7c1a48

Please sign in to comment.