项目作者: WuKongW

项目描述 :
This is one sample for simple date picker.
高级语言: TypeScript
项目地址: git://github.com/WuKongW/Angular2-datepicker.git
创建时间: 2016-12-30T14:04:28Z
项目社区:https://github.com/WuKongW/Angular2-datepicker

开源协议:

下载


Angular2-datepicker

This is one sample for simple date picker.

How to use

>

  1. install
    1. npm install ng2-wk-date-picker --save-dev
  2. configure with resource loader and import into your project
    e.g. SystemJS
    1. System.config({
    2. map: {
    3. 'ng2-wk-date-picker': 'node_modules/ng2-wk-date-picker'
    4. },
    5. packages: {
    6. 'ng2-wk-date-picker': {
    7. main: 'index.js'
    8. }
    9. }
    10. });
    1. import { Ng2WkDatePickerModule } from 'ng2-wk-date-picker';
    2. @NgModule({
    3. imports: [
    4. BrowserModule,
    5. Ng2WkDatePickerModule
    6. ],
    7. declarations: [],
    8. bootstrap: [],
    9. })
    10. export class AppModule { }

start up the demo

  1. npm install
  2. npm start