Skip to content
This repository has been archived by the owner on Oct 9, 2021. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akmittal authored Apr 27, 2017
1 parent 9ff7e44 commit 649ebf0
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,22 @@ Image 2. _mydatepicker in inline mode._
To install this component to an external project, follow the procedure:

1. Make sure you're using Webpack and have installed `raw-loader`, `postcss-loader` and `sass-loader`.
2. `npm install kekeh/mydatepicker`.
3. `import {MyDatePicker} from 'MyDatePicker/src/index';`
4. Use the following snippet inside your template:
2. `npm install angular2-datepicker`.
3. `import {MyDatePickerModule} from 'mydatepicker/src/my-date-picker/my-date-picker.module';`
4. import Datepicker module
```
@NgModule({
declarations: [
AppComponent
],
imports: [
MyDatePickerModule
],
providers: [],
bootstrap: [AppComponent]
})
```
5. Use the following snippet inside your template:

```html
<my-date-picker [options]="myDatePickerOptions"
Expand Down

0 comments on commit 649ebf0

Please sign in to comment.