• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

appleboy/html5-template-engine: html5 template engine with CoffeeScript, Compass ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

appleboy/html5-template-engine

开源软件地址:

https://github.com/appleboy/html5-template-engine

开源编程语言:

CoffeeScript 32.8%

开源软件介绍:

Html5 Template Engine

Build Status devDependency Status

Hint: New Slush generator Html5 web apps available

Features

Installation

Please install node.js first (>0.10) and bower package manager

$ npm install -g bower
$ npm install

Start App

$ npm start

Excuting above command will output the following message.

> [email protected] start /home/xxxxx/html5-template-engine
> gulp

[13:25:09] Requiring external module coffee-script/register
[13:25:11] Using gulpfile /home/xxxxx/html5-template-engine/gulpfile.coffee
[13:25:11] Starting 'default'...
[13:25:11] Starting 'coffee'...
[13:25:11] Starting 'compass'...
[13:25:11] Finished 'coffee' after 253 ms
directory app/assets/css/
   create app/assets/css/main.css

[13:25:12] Finished 'compass' after 1.08 s
[13:25:12] Starting 'connect:app'...
[13:25:12] Finished 'connect:app' after 34 ms
[13:25:12] Finished 'default' after 1.2 s
[BS] Local: >>> http://localhost:3001
[BS] External: >>> http://172.168.0.122:3001
[BS] Serving files from: app

Open browser like chrome or firefox and enter http://localhost:1337 URL.

Release

Execute the following command will generate dist folder.

$ npm run release

Test

To test release process by following command.

$ npm test

Support Terminal in Chrome Devtools

If you’re on a Mac, just download this Chrome extension. Install it, and you good to go. No need to read any further.

If you’re not on a Mac, you can connect to your system’s terminal via Node.js proxy. It can be localhost or some other remote server.

$ npm install -g devtools-terminal $ devtools-terminal --config terminal.js

Please refer more detail information.

Support Gulp in Chrome Devtools

Please install chrome Gulp Devtools extension. An extension to run gulp task from chrome devtools.

Is gulp-devtools running?

  • If not already installed, run npm install -g gulp-devtools
  • Export gulp from your gulpfile.js by adding module.exports = gulp;
  • Run gulp-devtools in a directory with a gulpfile!
  • Re-open Chrome Dev tools, find the Gulp tab. Your gulp tasks should now be accessible from Chrome

Author

Bo-Yi Wu, Twitter: @appleboy, Blog: http://blog.wu-boy.com




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap