1.0.0 • Published 4 years ago
@xeui/angularjs-xue v1.0.0
angularjs-xue
Components for angularjs by Gosuncn FE team,support IE8+.
For user
Requirements
angularjs 1.2.32
Manual download
After downloading dependencies you need to download build version of this project: https://github.com/zhangxuelian/angularjs-xue/tree/master/dist
You could import the components by require or script tag.
Adding dependency to your project
When you are done downloading all the dependencies and project files the only remaining part is to add dependencies on the ui.xue AngularJS module:
angular.module('myModule', ['ui.xue']);
Webpack / JSPM
Install with NPM
$ npm install angularjs-xue --save-dev
Usage
To use this project with webpack, follow the NPM instructions. Now, if you want to use pagination and table, you can do:
import pagination from 'angularjs-xue/src/pagination';
import table from 'angularjs-xue/src/table/index-nocss.js';
angular.module('myModule', [pagination,table]);
For developer
Install global dependencies (Not required)
$ npm install grunt-cli@1.3.2 -g
$ npm install karma-cli@2.0.0 -g
Git clone project to local
git clone https://github.com/zhangxuelian/angularjs-xue.git
Bundle
$ cd angularjs-xue
$ npm install
$ npm run test
$ npm run demo or npm run test-demo
1.0.0
4 years ago