From 99d8af54e412328c44ce2274805fde7e550cd875 Mon Sep 17 00:00:00 2001 From: Jeff Sagal Date: Thu, 8 Sep 2016 10:56:11 -0700 Subject: [PATCH] bump readme --- README.md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1becf03..95c5116 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,12 @@ Rather than bringing in jQuery just to use Select2 or Chosen, this Vue.js compon - Rich Option Templating ## Live Examples & Docs -[http://sagalbot.github.io/vue-select/](http://sagalbot.github.io/vue-select/) +- [Demo & Docs](http://sagalbot.github.io/vue-select/) +- [Live Example on JSBin](http://jsbin.com/saxaru/5/edit?html,js,output) ## Install / Usage -vue-select is now published on npm, **huge thanks to [@onefriendaday](https://github.com/onefriendaday)** for changing ownership of [his package](https://github.com/onefriendaday/vue-select). + +#### NPM Based WorkFlows ``` bash $ npm install vue-select ``` @@ -52,6 +54,26 @@ export default { ``` +#### Browser Globals + +`v1.3.0+` no longer requires any toolchain to use the component: + +Just include `vue` & `vue-select.js` - I recommend using [npmcdn](https://npmcdn.com/#/). + +```html + + + + +``` +Then register the component in your javascript: + +```js +Vue.component('v-select', VueSelect.VueSelect); +``` + +From there you can use as normal. Here's an [example on JSBin](http://jsbin.com/saxaru/5/edit?html,js,output). + ## Parameters ```javascript /**