From 7382e8bbeb68fe90e31e82b09f783e4796616aed Mon Sep 17 00:00:00 2001 From: Phoenix Wong Date: Sat, 5 Nov 2016 14:21:23 +0800 Subject: [PATCH] Release `dist` files --- CHANGELOG.md | 4 + README.md | 35 ++- bower.json | 2 +- demo/components/Samples.vue | 3 - dist/vue2-timepicker.css | 120 ++++++++++ dist/vue2-timepicker.js | 419 +++++++++++++++++++++++++++++++++++ dist/vue2-timepicker.min.css | 1 + dist/vue2-timepicker.min.js | 1 + package.json | 3 +- 9 files changed, 576 insertions(+), 12 deletions(-) create mode 100644 dist/vue2-timepicker.css create mode 100644 dist/vue2-timepicker.js create mode 100644 dist/vue2-timepicker.min.css create mode 100644 dist/vue2-timepicker.min.js 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