Score
0
Watch 10 Star 19 Fork 7

我叫张凯 / baseFontJavaScript

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
这是一个使用 angulaJs 和 grunt 的前端项目模块 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

#baseFont 这是一个使用angulaJs和grunt的前段项目模块。实现了以下功能:

  1. 多个js,css文件代码合并;
  2. js,css压缩;
  3. 根据JSLint对js进行校验;
  4. 监听文件变更,自动更新;
  5. 开发环境(default)和正式环境(online)正式校验;

使用方法:
1. 安装nodeJS,安装步骤很简单,请自行查阅资料
2. 进入该目录(eg:cd ~/code/baseFont/)
3. 安装grunt:
   * npm install grunt-cli -g
   * npm install grunt
   * npm install
4. 运行(grunt)进行构建(这是开发环境,实时监测代码变更并自动更新)
5. 运行(grunt dist)进行构建(这是生产环境,取消实时监测,也不会自动更新)

如果您有疑问,或者好的建议,欢迎联系我(970776893@qq.com).

效果图:
![image](http://git.oschina.net/wjzk/baseFont/raw/master/screenshots/Selection_001.png)
![image](http://git.oschina.net/wjzk/baseFont/raw/master/screenshots/Selection_002.png)
![image](http://git.oschina.net/wjzk/baseFont/raw/master/screenshots/Selection_003.png)
![image](http://git.oschina.net/wjzk/baseFont/raw/master/screenshots/Selection_004.png)

Comments ( 1 )

Sign in for post a comment

JavaScript
1
https://gitee.com/wjzk/baseFont.git
git@gitee.com:wjzk/baseFont.git
wjzk
baseFont
baseFont
master

Search

231008 48f1a665 1899542 231017 9a6720c6 1899542