diff --git a/docs/gitbook/Basics/Options.md b/docs/gitbook/Basics/Options.md index 0eeb671..ac506a6 100644 --- a/docs/gitbook/Basics/Options.md +++ b/docs/gitbook/Basics/Options.md @@ -33,6 +33,6 @@ If you wanted to display `Canada` in the dropdown, you'd use the `countryName` k [](codepen://sagalbot/aEjLPB?height=500) -### Null / Empty Options {#emptyOptions} +### Null / Empty Options {#null} `vue-select` requires the `option` property to be an `array`. If you are using Vue in development mode, you will get warnings attempting to pass anything other than an `array` to the `options` prop. If you need a `null`/`empty` value, use an empty array `[]`. diff --git a/docs/gitbook/README.md b/docs/gitbook/README.md index ba90953..e6810a8 100644 --- a/docs/gitbook/README.md +++ b/docs/gitbook/README.md @@ -1,4 +1,11 @@ -# vue-select [![Build Status](https://travis-ci.org/sagalbot/vue-select.svg?branch=master)](https://travis-ci.org/sagalbot/vue-select) [![Code Score](https://img.shields.io/codeclimate/github/sagalbot/vue-select.svg?style=flat-square)](https://lima.codeclimate.com/github/sagalbot/vue-select) [![Code Coverage](https://img.shields.io/codeclimate/coverage/github/sagalbot/vue-select.svg?style=flat-square)](https://codeclimate.com/github/sagalbot/vue-select) [![No Dependencies](https://img.shields.io/gemnasium/sagalbot/vue-select.svg?style=flat-square)](https://gemnasium.com/github.com/sagalbot/vue-select) ![MIT License](https://img.shields.io/github/license/sagalbot/vue-select.svg?style=flat-square) ![Current Release](https://img.shields.io/github/release/sagalbot/vue-select.svg?style=flat-square) +# vue-select + +![Build Status](https://travis-ci.org/sagalbot/vue-select.svg?branch=master) +![Monthly Downloads](https://img.shields.io/npm/dm/vue-select.svg?style=flat-square) +![Maintainability Score](https://img.shields.io/codeclimate/maintainability/sagalbot/vue-select.svg?style=flat-square) +![No Dependencies](https://img.shields.io/gemnasium/sagalbot/vue-select.svg?style=flat-square) +![MIT License](https://img.shields.io/github/license/sagalbot/vue-select.svg?style=flat-square) +![Current Release](https://img.shields.io/github/release/sagalbot/vue-select.svg?style=flat-square) > A Vue.js select component that provides similar functionality to Select2 without the overhead of jQuery. @@ -13,14 +20,6 @@ - ~33kb minified with CSS - Zero dependencies -## Documentation -- **[Demo & Docs](http://sagalbot.github.io/vue-select/)** -- **[Example on JSBin](http://jsbin.com/saxaru/8/edit?html,js,output)** +#### Resources - **[CodePen Template](http://codepen.io/sagalbot/pen/NpwrQO)** -- **[Trello Roadmap](https://trello.com/b/vWvITNzS/vue-select)** - -## Install - -###### Vue Compatibility -- `vue ~2.0` use `vue-select ~2.0` -- `vue ~1.0` use `vue-select ~1.0` \ No newline at end of file +- **[Trello Roadmap](https://trello.com/b/vWvITNzS/vue-select)** \ No newline at end of file