2.14.3 • Published 5 years ago

iview2 v2.14.3

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

基于 iView 2.14.3 镜像

npm.io 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.

Docs

中文文档 (2.x)

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.

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 iview2 --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 'iview2/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.

Ecosystem Links

License

MIT

Copyright (c) 2016-present, iView