108 lines
3.9 KiB
Markdown
108 lines
3.9 KiB
Markdown
<p align="center">
|
|
<a href="https://www.iviewui.com">
|
|
<img width="200" src="https://file.iviewui.com/logo.svg">
|
|
</a>
|
|
</p>
|
|
|
|
# iView
|
|
[](https://travis-ci.org/iview/iview)
|
|
[](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)
|
|
|
|
### A high quality UI Toolkit built on Vue.js.
|
|
|
|
> This branch is for Vue.js 2.x
|
|
>
|
|
> [HERE](https://github.com/iview/iview/tree/master) is for Vue.js 1.x
|
|
|
|
## Docs
|
|
|
|
### [English (2.0)](https://www.iviewui.com)
|
|
### [中文文档 (2.0)](https://www.iviewui.com)
|
|
### [中文文档 (1.0)](http://v1.iviewui.com)
|
|
|
|
## Overview
|
|
|
|
### [Component Overview](https://www.iviewui.com/overview)
|
|
|
|
## Features
|
|
|
|
- Dozens of useful and beautiful components.
|
|
- Friendly API. It's made for people with all skill levels.
|
|
- Extensive documentation.
|
|
- It is quite beautiful.
|
|
- Support Vue.js 2 and Vue.js 1.
|
|
|
|
## Install
|
|
|
|
### 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).
|
|
|
|
You can also use [vue-cli](https://github.com/vuejs/vue-cli).
|
|
|
|
### Install iView
|
|
|
|
using npm
|
|
```
|
|
npm install iview --save
|
|
```
|
|
Or using script tag for global use
|
|
```html
|
|
<script type="text/javascript" src="iview.min.js"></script>
|
|
```
|
|
|
|
## Usage
|
|
|
|
```html
|
|
<template>
|
|
<Slider v-model="value" range></Slider>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
data () {
|
|
return {
|
|
value: [20, 50]
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
```
|
|
Use css
|
|
```js
|
|
import 'iview/dist/styles/iview.css';
|
|
```
|
|
|
|
## 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.
|
|
|
|
|
|
## Major Contributors
|
|
|Name|Avatar|Name|Avatar|Name|Avatar|
|
|
|---|---|---|---|---|---|
|
|
|[Aresn](https://github.com/icarusion) |  |[jingsam](https://github.com/jingsam) |  | [rijn](https://github.com/rijn) |  |
|
|
|[lcx960324](https://github.com/lcx960324) |  |[GITleonine1989](https://github.com/GITleonine1989) |  |[huixisheng](https://github.com/huixisheng) |  |
|
|
|[Sergio Crisostomo](https://github.com/SergioCrisostomo) |  |
|
|
|
|
|
|
## Links
|
|
|
|
- [TalkingData](https://github.com/TalkingData)
|
|
- [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)
|
|
|
|
## License
|
|
[MIT](http://opensource.org/licenses/MIT)
|
|
|
|
Copyright (c) 2016-present, iView
|