/iview

UI Components with Vue.js

Primary LanguageJavaScriptMIT LicenseMIT

iView iView NPM downloads

A high quality UI Components Library with Vue.js

Docs

Overview

Features

  • Using .vue file development mode
  • Based on npm + webpack + babel, support ES2015
  • High quality and rich functions
  • Friendly APIs,free and flexible

Programming

iView

Install

Install vue-webpack project in the first place

Use vue-vueRouter-webpack(Recommended) Or vue-cli

Install iView

npm install iview --save

Babel support for iView in webpack

module: {
    loaders: [
        { test: /iview\/.*?js$/, loader: 'babel' },// for Mac
        { test: /iview\\.*?js$/, loader: 'babel' },// for Windows
        { test: /\.js$/, loader: 'babel', exclude: /node_modules/ }
    ]
}

Usage

Use component as required

<template>
    <Page :current="1" :total="100"></Page>
</template>
<script>
    import { Page } from 'iview';
    export default {
        components: { Page }
    }
</script>

Use css

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

Browser Support

Normal browsers and Internet Explorer 9+.

Links

We have been in developing, please pay attention to the iView.