This branch is for Vue.js 2.x
HERE is for Vue.js 1.x
- High quality and rich functions
- Friendly APIs,free and flexible
- Great Documentation
- It is quite beautiful
- Support Vue.js 2 and Vue.js 1
- 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 v-model="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+.
In iView, Some of the components and style codes refer to the following projects: