Skip to content

Commit

Permalink
upgrade to the Vue.js v1.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Haixing-Hu committed Jun 12, 2016
1 parent 7f76a4b commit b8298a2
Show file tree
Hide file tree
Showing 17 changed files with 11,592 additions and 10,331 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ The demo page is [HERE](http://haixing-hu.github.io/vue-select/demo.html).

# Requirements

- [Vue.js](https://github.com/yyx990803/vue) `^0.12.0`
- [Select2](https://github.com/select2/select2) `^4.0.0`
- [Vue.js](https://github.com/yyx990803/vue) `^1.0.24`
- [JQuery](https://github.com/jquery/jquery) `^3.0.0`
- [Select2](https://github.com/select2/select2) `^4.0.3`

# Instllation

Expand Down Expand Up @@ -45,7 +46,7 @@ The HTML snippets are as follows:
A simple select:
</label>
<div class="col-sm-5">
<vue-select class="vue-select1" name="select1" options="{{options1}}" model="{{@ result1}}">
<vue-select class="vue-select1" name="select1" :options="options1" :model.sync="result1">
</vue-select>
</div>
<div class="col-sm-4">
Expand All @@ -60,8 +61,8 @@ The HTML snippets are as follows:
</label>
<div class="col-sm-5">
<vue-select class="vue-select2" name="select2"
options="{{options2}}" model="{{@ result2}}"
searchable="true" language="en-US">
:options="options2" :model.sync="result2"
:searchable="true" language="en-US">
</vue-select>
</div>
<div class="col-sm-4">
Expand All @@ -76,8 +77,8 @@ The HTML snippets are as follows:
</label>
<div class="col-sm-5">
<vue-select class="vue-select3" name="select3"
options="{{options3}}" model="{{@ result3}}"
searchable="true" language="zh-CN">
:options="options3" :model.sync="result3"
:searchable="true" language="zh-CN">
</vue-select>
</div>
<div class="col-sm-4">
Expand Down
14 changes: 7 additions & 7 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-select",
"description": "A Vue.js component implementing the select control with the jQuery select2 plugin.",
"version": "0.1.7",
"version": "0.2.0",
"keywords": [
"Vue.js",
"component",
Expand All @@ -26,13 +26,13 @@
"node_modules"
],
"dependencies": {
"vue": "^0.12.16",
"jquery": "^2.1.4",
"bootstrap": "^3.3.5",
"select2": "^4.0.0",
"select2-bootstrap-theme": "^0.1.0-beta.4"
"vue": "^1.0.24",
"jquery": "^3.0.0",
"bootstrap": "^3.3.6",
"select2": "^4.0.3",
"select2-bootstrap-theme": "^0.1.0-beta.7"
},
"devDependencies": {
"vue-i18n-plugin": ">=0.1.3"
"vue-i18n-plugin": "^0.2.1"
}
}
Loading

0 comments on commit b8298a2

Please sign in to comment.