diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d5bd32..2473333 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ > The Change Log of Vue2 Timepicker `vue2-timepicker` +## v 0.1.2 + +Release the `dist` files + ## v 0.1.1 The first notable release of Vue2 Timepicker diff --git a/README.md b/README.md index a4f55bb..82affed 100644 --- a/README.md +++ b/README.md @@ -4,21 +4,21 @@ A dropdown time picker (hour|minute|second) for **Vue 2.x**, with flexible time > Looking for the Vue 1.x version? Please check the [vue-timepicker](https://github.com/phoenixwong/vue-timepicker) *(Vue 1.x supported)* -## Migration - -Migrating from the Vue 1.x vertion? Please check [MIGRATION.md](https://github.com/phoenixwong/vue2-timepicker/blob/master/MIGRATION.md) for basic guidelines. - ## Demo You can see the **Vue2 Timepicker** in action in the [Demo Page](https://phoenixwong.github.io/vue2-timepicker/) +## Migration + +Migrating from the Vue 1.x version? Please check [MIGRATION.md](https://github.com/phoenixwong/vue2-timepicker/blob/master/MIGRATION.md) for basic guidelines. + ## Dependencies [Vue.js](http://vuejs.org/) v2.0+ ## Installation -Through NPM (recommended) +Through NPM **(Recommended)** ```bash npm install vue2-timepicker --save @@ -34,6 +34,8 @@ bower install vue2-timepicker --save **Step 1:** Import VueTimepicker +**A**: Include the single file component **(Recommended)** + ```javascript // import import VueTimepicker from 'vue2-timepicker' @@ -43,6 +45,25 @@ var VueTimepicker = require('vue2-timepicker') ``` +or, **B**: Include distribution files with ` + + + +``` + +**NOTE:** When using the `dist` files, a `Vue.use()` call is needed + +```javascript +// Work with