vue-citypickerr
v1.0.1
Published
a vue citypicker width code
Downloads
3
Readme
citypicker
a citypicker width code
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# how to use
<template>
<city-picker :startVal='startVal' :endVal='endVal' :duration='3000'></city-picker>
</template>
<script>
import cityPicker from 'vue-citypika';
export default {
components: { cityPicker },
data () {
return {
startVal: 0,
endVal: 2017
}
}
}
</script>
For detailed explanation on how things work, consult the docs for vue-loader.