2016-09-24 22:43:55 +08:00
< p align = "center" >
< a href = "https://www.iviewui.com" >
2017-07-17 18:06:16 +08:00
< img width = "200" src = "https://file.iviewui.com/logo.svg" >
2016-09-24 22:43:55 +08:00
< / a >
< / p >
2016-09-16 22:10:02 +08:00
2017-06-02 18:41:07 +08:00
# iView
[](https://travis-ci.org/iview/iview)
2017-06-02 18:40:15 +08:00
[](https://www.npmjs.org/package/iview)
[](https://npmjs.org/package/iview)
[](https://npmjs.org/package/iview)


[](https://gitter.im/iview/iview?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge)
2016-10-31 01:21:53 +00:00
2017-03-28 09:04:57 +08:00
### A high quality UI Toolkit built on Vue.js.
2016-09-16 22:10:02 +08:00
2017-03-09 23:01:55 +08:00
> This branch is for Vue.js 2.x
>
> [HERE](https://github.com/iview/iview/tree/master) is for Vue.js 1.x
2017-01-19 09:39:41 -06:00
2016-09-16 22:10:02 +08:00
## Docs
2017-06-28 13:23:23 +08:00
### [English (2.0)](https://www.iviewui.com)
2017-06-28 14:04:28 +08:00
### [中文文档 (2.0)](https://www.iviewui.com)
2017-03-28 09:04:57 +08:00
### [中文文档 (1.0)](http://v1.iviewui.com)
2016-09-16 22:10:02 +08:00
2016-09-24 22:43:55 +08:00
## Overview
2017-07-17 14:35:44 +08:00
### [Component Overview](https://www.iviewui.com/overview)
2016-09-24 22:43:55 +08:00
## Features
2017-07-17 14:35:44 +08:00
- Dozens of useful and beautiful components.
- Friendly API. It's made for people with all skill levels.
- Extensive documentation.
2017-07-17 18:02:24 +08:00
- It is quite beautiful.
2017-07-17 14:35:44 +08:00
- Support Vue.js 2 and Vue.js 1.
2016-09-24 22:43:55 +08:00
2017-03-09 23:01:55 +08:00
## Programming
2017-03-09 23:02:37 +08:00

2017-03-09 23:01:55 +08:00
2016-09-24 22:43:55 +08:00
## Install
2017-07-17 14:35:44 +08:00
### Install webpack project in the first place
We recommend you install project through [iView Cli ](https://github.com/iview/iview-cli ) Or [iview-project ](https://github.com/iview/iview-project ).
2016-09-24 22:43:55 +08:00
2017-07-17 14:35:44 +08:00
You can also use [vue-cli ](https://github.com/vuejs/vue-cli ).
2016-09-24 22:43:55 +08:00
### Install iView
2016-11-14 14:35:56 +08:00
using npm
```
2016-09-24 22:43:55 +08:00
npm install iview --save
2016-11-14 14:35:56 +08:00
```
Or using script tag for global use
2017-03-28 09:04:57 +08:00
```html
2016-11-14 14:31:00 +08:00
< script type = "text/javascript" src = "iview.min.js" > < / script >
2016-09-24 22:43:55 +08:00
```
## Usage
```html
< template >
2017-03-09 23:01:55 +08:00
< Slider v-model = "value" range > < / Slider >
2016-09-24 22:43:55 +08:00
< / template >
< script >
export default {
2016-11-14 14:31:00 +08:00
data () {
return {
value: [20, 50]
}
}
2016-09-24 22:43:55 +08:00
}
< / script >
```
Use css
```js
import 'iview/dist/styles/iview.css';
```
2017-07-17 14:35:44 +08:00
## Compatibility
- Support Vue.js 2.x
- Support Vue.js 1.x [Visit 1.0 doc ](http://v1.iviewui.com/ )
- Support SSR
- Support Nuxt.js
- [Electron ](http://electron.atom.io/ )
- iView does not support IE8 or below since [Vue.js ](https://vuejs.org/v2/guide/reactivity.html ) is using Object.defineProperty which do not be supported by these browsers to track changes.
2016-09-24 22:43:55 +08:00
2017-03-21 17:15:03 +08:00
## Major Contributors
|Name |Avatar |
|---|---|
| [Aresn ](https://github.com/icarusion ) |  |
| [jingsam ](https://github.com/jingsam ) |  |
| [rijn ](https://github.com/rijn ) |  |
2017-06-03 22:37:37 +08:00
| [lcx960324 ](https://github.com/lcx960324 ) |  |
2017-03-21 17:15:03 +08:00
| [GITleonine1989 ](https://github.com/GITleonine1989 ) |  |
| [huixisheng ](https://github.com/huixisheng ) |  |
2017-03-28 09:04:57 +08:00
2016-09-24 22:43:55 +08:00
## Links
2017-02-22 14:35:15 +08:00
- [TalkingData ](https://github.com/TalkingData )
2016-09-24 22:43:55 +08:00
- [Vue ](https://github.com/vuejs/vue )
- [Webpack ](https://github.com/webpack/webpack )
- [ionicons ](https://github.com/driftyco/ionicons )
- [Ant Design ](https://github.com/ant-design/ant-design )
2017-03-14 10:47:02 +08:00
2017-03-16 10:49:01 +08:00
## License
[MIT ](http://opensource.org/licenses/MIT )
2017-05-11 16:09:43 +08:00
Copyright (c) 2016-present, iView