An open API service indexing awesome lists of open source software.

https://github.com/dmoosocool/lich

:8ball: A simple, powerful and easy to use scaffold based on the zepto/lodash framework.
https://github.com/dmoosocool/lich

javascript js-framework workflow

Last synced: about 1 year ago
JSON representation

:8ball: A simple, powerful and easy to use scaffold based on the zepto/lodash framework.

Awesome Lists containing this project

README

          

---

title: Lich.js 介绍
date: 2017-08-23 10:13
author: dmoo.

---

# Lich.js 介绍

## Lich.js 是什么?
```
一个基于zepto的简单强大易上手的脚手架.
```

## Lich.js 可以做到什么?
- [x] 前端底层框架:zepto, lodash.
- [x] 多端调试方案:browserSync.
- [x] 前端样式:less/sass.
- [x] 移动端rem多端适配解决方案: flexiable.
- [x] 前端构建模板:swig + gulp-Lich-include
- [x] 前端页面逻辑模板:lodash tpl.
- [x] 单元测试:mocha + chai.
- [x] 前端资源压缩:gulp-uglify, gulp-clean-css, gulp-htmlmin
- [x] 前端代码防缓存:gulp-rev, gulp-rev-collector
- [x] 前端资源合并:gulp-Lich-include

### 资源链接
- [zepto](https://github.com/madrobby/zepto)
- [lodash](https://github.com/lodash/lodash)
- [browserSync](https://github.com/BrowserSync/browser-sync)
- [flexiable](https://github.com/amfe/lib-flexible/tree/master)
- [swig](https://github.com/amfe/lib-flexible/tree/master)
- [lodash tpl](https://lodash.com/docs/#template)

### 相关资源
- [Swig 使用指南](http://www.iqianduan.net/blog/how_to_use_swig)
- [HEXO 进阶-SWIG高级语法](http://www.joryhe.com/2016-05-21-hexo-swig-advance-grammar.html)
- [gulp-Lich-include](https://github.com/dmoosocool/gulp-Lich-include)
- 其他相关node插件自行查看[npm](https://www.npmjs.com)

## FAQ
### 命名由来
```
程序员死了, 代码却还继续运行着, 如果有一天我死了, 可能我的代码会把我复活吧
```
> 官方解释:巫妖是由法术意外造成的。巫妖拥有生前所有的能力,且有无尽的时间来钻研魔法,所以不可避免地拥有强大的魔力。巫妖的起源可追溯到中东的民间传说,而借着将灵魂存放在容器内以达到永生跟埃及的丧葬仪式有关。

![](https://ooo.0o0.ooo/2017/08/23/599cf56b030e1.png)