iview-country-select

0.0.2 • Public • Published

iview-country-select

npm version

A iView component to select countries.

this component only support Vue 1 and iView 1 currently

Screenshot

screenshot

Use in iView Project

  1. install package and dependencies via npm

    npm install iview-country-select flag-icon-css iview --save-dev
  2. add loaders to webpack

    module: {
        loaders: [
            {
                test: /iview-country-select.*?js$/,
                loader: 'babel'
            },
        ]
    }
  3. import lib in vue file

    import iviewCountrySelect from 'iview-country-select';
     
    export default {
        components: { iviewCountrySelect },
    };
  4. 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

Readme

Keywords

none

Package Sidebar

Install

npm i iview-country-select

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • rijn