Skip to content

Latest commit

 

History

History
141 lines (103 loc) · 5.66 KB

README.md

File metadata and controls

141 lines (103 loc) · 5.66 KB

iView

iView NPM downloads NPM downloads JS gzip size CSS gzip size Join the chat at https://gitter.im/iview/iview

A high quality UI Toolkit built on Vue.js.

This branch is for Vue.js 2.x.

The branch for Vue.js 1.x can be found here.

iview-bsc

Notes

  • 将本地 ssh 密钥(~/.ssh/id_rsa.pub)添加到 github 的设置中
  • 拉取代码,使用 ssh 的方式
  • 安装项目依赖并启动开发环境 (npm run dev, 其他命令查看 package.json)
  • 发布更新: npm run prepublish => npm publish --registry http://registry.npmjs.org

控件源码在 src\ 目录下,如果新增控件需要在index 中引入,examples\ 下的文件是开发测试用,可以根据开发测试需求随便改(不需提交)

Docs

中文文档 (1.0)

Overview

Features

  • Dozens of useful and beautiful components.
  • Friendly API. It's made for people with any skill level.
  • Extensive documentation and demos.
  • It is quite beautiful.
  • Supports both Vue.js 2 and Vue.js 1.

Who's using iView

If your company or products use iView, welcome to click here to leave a message.

Install

Please install Webpack first!

We recommend you create your project through iView Cli or iview-project. You can also use vue-cli.

Install iView

Using npm:

npm install iview --save

Using a script tag for global use:

<script type="text/javascript" src="iview.min.js"></script>
<link rel="stylesheet" href="dist/styles/iview.css">

You can find more info on the website.

Usage

<template>
    <Slider v-model="value" range />
</template>
<script>
    export default {
        data () {
            return {
                value: [20, 50]
            }
        }
    }
</script>

Using css via import:

import 'iview/dist/styles/iview.css';

Compatibility

  • Supports Vue.js 2.x
  • Supports Vue.js 1.x - visit 1.0 docs
  • Supports SSR
  • Supports Nuxt.js
  • Supports Electron
  • iView does not support IE8 or below since Vue.js uses Object.defineProperty to track changes which is not supported by these browsers.

Community

If you want to contribute or have questions or bugs to report:

Questions: Find other users at the Gitter chat or post on StackOverflow using [iview-ui] tag
Bugs: File a issue here - please provide a example so we can help you better
Contribute: Contact us in Gitter chat, WeChat or via mail to admin@aresn.com. PRs welcome!

Major Contributors

Name Avatar Name Avatar Name Avatar
Aresn jingsam rijn
lcx960324 GITleonine1989 huixisheng
Sergio Crisostomo lison16 Xotic750

Links

License

MIT

Copyright (c) 2016-present, iView