- High quality and rich functions
- Friendly APIs,free and flexible
- Great Documentation
- It is quite beautiful
- Using .vue file development mode
- Based on npm + webpack + babel, using ES2015
Use iview-project(Recommended) Or vue-cli
using npm
npm install iview --save
Or using script tag for global use
<script type="text/javascript" src="iview.min.js"></script>
<template>
<Slider :value.sync="value" range></Slider>
</template>
<script>
export default {
data () {
return {
value: [20, 50]
}
}
}
</script>
Use css
import 'iview/dist/styles/iview.css';
Normal browsers and Internet Explorer 9+.