A Vue.js 2.0 Component library(by the way, add some common function)
npm install vue2stone -S
import vue2stone from 'vue2stone'
import Css from 'vue2stone/dist/vue2stone.min.css'
Vue.use(vue2stone)
1.Progress bar
<s-progress :width="mywidth+'%'"></s-progress>
// mywidth is a string,That means the current progress
2.Star
<s-star :count="this.myCount" :max="5"></s-star>
// count meaning this star's number
// max meaning all star's number
3.Wait 1
<s-loading></s-loading>
4.Wait 2
<s-circle></s-circle>
5.Selector
<s-select :lists="['xiaoming', 'xiaohong']"></s-select>
// lists meaning a Array
8.Switch
<s-switch :inColor="'white'" :outColor="'black'"></s-switch>
// inColor is circle's color
// outColor is out's color
7.Toast
this.$toast.show({msg: 'this a toast'})
this.$toast.hide()
// maybe you need be careful msg's length
more components , more friendly , more common function