Skip to content

Latest commit

 

History

History
107 lines (80 loc) · 2.72 KB

README-zh_CN.md

File metadata and controls

107 lines (80 loc) · 2.72 KB

Fancyui

FancyUI是飞凡前端团队(ffan-fe)开源的一套AngularJs(1.5.X)的组件库,适合构建后台管理系统,主要有以下特性:

  • 通过命令行快速创建项目,创建组件
  • 提供大量开箱即用的PC端开发常用组件
  • 3分钟内开发完成一个与rest API对接的管理后台页面
  • 模块化管理并按需加载,ES6语法上手
  • 使用ES6 + gulp + webpack做项目管理

中文说明 English Ver.

快速上手

1.在AngularJs项目中引入组件库

npm install ng-start-cli -g
npm install fancyui --save

2.把组件注入模块

import progressdemoComponent from './progressdemo.component';
import {Progress} from 'fancyui';
export default angular.module('progressDemo', [
  Progress.name
])
.component('progressDemo', progressdemoComponent);

3.实例化组件

<bp-progress percent="80" stroke-width="8"></bp-progress>

##源码构建及开发方法

安装

git clone [email protected]:ffan-fe/fancyui.git

安装 node_modules:

npm i -d ;

启动演示项目 Example

npm run dev

测试

test all

npm test

single test

npm test --single_file=lib/button/button.spec.js

npm run singleTest

如何助力fancyui?

阅读 contributing 了解流程.

LICENSE

BSD

组件库详细文档