iview-country-select
v0.0.2
Published
A iView component to select countries.
Downloads
5
Readme
iview-country-select
A iView component to select countries.
this component only support Vue 1 and iView 1 currently
Screenshot
Use in iView Project
install package and dependencies via npm
npm install iview-country-select flag-icon-css iview --save-dev
add loaders to webpack
module: { loaders: [ { test: /iview-country-select.*?js$/, loader: 'babel' }, ] }
import lib in vue file
import iviewCountrySelect from 'iview-country-select'; export default { components: { iviewCountrySelect }, };
bind result
<iview-country-select :result.sync="result"> </iview-country-select>
Development Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev