KodExplorer/static/js/readme.txt

26 lines
919 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

1.安装node下载exe安装
2.安装npmnpm install
3.安装gruntnpm install -g grunt-cli
配置环境变量
path 加入nodejs 安装目录。
path 加入C:\Users\kuanganlei.DOUYOLE\AppData\Roaming\npm
使用:
1.cd到需要执行的目录。编写好Gruntfile.js文件
2.grunt build 执行即可
grunt中文文档 http://www.gruntjs.net/docs/frequently-asked-questions/
http://www.hulufei.com/post/grunt-introduction
(关于如何配置:参考来源:https://github.com/seajs/seajs/issues/672 和
http://hi.baidu.com/liuda101/item/54bcf8d0b6a65602d68ed057 和
http://gruntjs.com/configuring-tasks#files )
构建工具https://github.com/seajs/seajs/issues/538
如何使用Grunt构建一个中型项目https://github.com/seajs/seajs/issues/672
使用配置前seajs.use("js/_dev/main");
构建后使用seajs.use("js/app/main");
捐助http://slidesjs.com/
http://fancyapps.com/fancybox/