xcui

Desktop web UI based on Vue2.0
2,645
Install
npm install xcui
Latest Version:2.4.3
Vue:2
Older releases:1
License:MIT
Last Updated:Dec 6, 2018
Links: npm
Maintainer: clancyz

Downloads Version Licence

About

XCUI 是基于Vue2.0的桌面端组件库。

XCUI的目标是:

  • 满足桌面端页面大部分基础组件需求。
  • 快速开发基于 Vue2.0 构建的项目。
  • 保持小体积, 无其他js库依赖(No jquery, No Bootstrap, etc)
  • 简洁优雅。

组件展示

XCUI主页

版本支持

在使用Vue 2.x 版本时,推荐使用 Vue 2.0.8 以上版本。

安装

通过npm安装。

npm install xcui

具体的安装方式请见这里。

快速上手

xcui使用umd方式打包,支持各种模块加载器。

在页面根实例中引入:

import Vue from 'vue'
import xcui from 'xcui'
import 'xcui/lib/xcui.css'
Vue.use(xcui);

在页面中声明标签,即可使用。

说明 XCUI在使用Vue.use(xcui)后,会默认以x-前缀注册所有组件,在Vue实例中可直接使用而不用在components中声明。举例:

<x-button type="primary">start</x-button>

更多详细信息请见这里。

开发

Clone the repo

$ git clone git@github.com:wmfe/xcui.git

安装依赖

$ npm i

Run dev server

$ npm run dev

Build components

$ npm run build

Related Packages

vux

Mobile web UI based on Vue and WeUI

116,886 17,447
ux-vue

Mobile web UI based on Vue and WeUI

9,641 17,447
xf-vux

Mobile web UI based on Vue and WeUI

6,420 17,447

Version History

Version Released Vue License
2.4.3 ^2.4.2 MIT
2.4.2 ^2.4.2 MIT
2.4.1 ^2.4.2 MIT
2.4.0 ^2.4.2 MIT
2.2.1 ^2.4.2 MIT
Pre-releases (16)
Version Released Vue License
2.3.0-rc.7 ^2.4.2 MIT
2.3.0-rc.6 ^2.4.2 MIT
2.3.0-rc.5 ^2.4.2 MIT
2.3.0-rc.4 ^2.4.2 MIT
2.3.0-rc.3 ^2.4.2 MIT