UNPKG

xview-ui

Version:

基于Vuejs的高性能轻量级组件库

34 lines (24 loc) 1.35 kB
# xview-ui [![npm package](https://img.shields.io/npm/v/xview-ui.svg)](https://www.npmjs.org/package/xview-ui) [![NPM downloads](http://img.shields.io/npm/dm/xview-ui.svg?style=flat-square)](https://npmjs.org/package/xview-ui) [![NPM downloads](https://img.shields.io/npm/dt/xview-ui.svg?style=flat-square)](https://npmjs.org/package/xview-ui) ![JS gzip size](http://img.badgesize.io/https://unpkg.com/xview-ui/dist/xview-ui.umd.min.js?compression=gzip&label=gzip:%20JS) ![CSS gzip size](http://img.badgesize.io/https://unpkg.com/xview-ui/dist/index.css?compression=gzip&label=gzip:%20CSS) ![License: MIT](https://img.shields.io/npm/l/xview-ui) > A High-performance lightweight ui library based on Vuejs. > Like iview with usage, but it is more lightweight and has better performance. > Demo address [https://liliang2019.gitee.io/xview-ui](https://liliang2019.gitee.io/xview-ui) ### Install ``` npm install xview-ui ``` ### Usage ```javascript import Vue from 'vue' import XViewUI from 'xview-ui' import 'xview-ui/dist/index.css' Vue.use(XViewUI, { prefix: '' }) ``` **options.prefix**: Set component prefix, If you pass in an empty string, No need to use components with prefixes Please refer to the iview documentation for details. [http://www.iviewui.com/](http://www.iviewui.com/) Thanks for download.