[]分享:自动编译&刷新工具(新增了项目模板创建,调试,发布一条龙)
如题,这个是针对typescript的编译工具,自动检测ts文件的变化,自动编译,并集成到html中,同时浏览器端的页面也会在编译完成之后自动刷新

https://github.com/mullezki/laya-template
使用方法很简单,安装node.js之后,命令行切换到工程目录
1.npm install
2.gulp debug
欢迎大家使用,提意见~
2016.05.05 更新:
直接clone模板的方式,毕竟还是不方便使用,有些没装git的同学也没法使用
于是我用yo的生成器又重做了一个项目generator-layaair,现在创建项目模板更加简单自动化了
初次使用先安装生成器:
npm install -g yo
npm install -g generator-layaair
之后每次创建项目
直接yo layaair就行了,指令会自动安装相关的依赖项


调试指令跟之前一样,gulp debug,或者 npm run debug
新增了发布执行,gulp publish或npm run publish,现在默认是发布到./dist/release
另外优化了调试模式的编译流程,现在自动编译速度会快很多


https://github.com/mullezki/laya-template
使用方法很简单,安装node.js之后,命令行切换到工程目录
1.npm install
2.gulp debug
欢迎大家使用,提意见~
2016.05.05 更新:
直接clone模板的方式,毕竟还是不方便使用,有些没装git的同学也没法使用
于是我用yo的生成器又重做了一个项目generator-layaair,现在创建项目模板更加简单自动化了
初次使用先安装生成器:
npm install -g yo
npm install -g generator-layaair
之后每次创建项目
直接yo layaair就行了,指令会自动安装相关的依赖项


调试指令跟之前一样,gulp debug,或者 npm run debug
新增了发布执行,gulp publish或npm run publish,现在默认是发布到./dist/release
另外优化了调试模式的编译流程,现在自动编译速度会快很多

没有找到相关结果
已邀请:
要回复问题请先登录
8 个回复
yung
赞同来自: charley
charley
赞同来自:
rekcah1986
赞同来自:
18801389480
赞同来自:
popo
赞同来自:
gmajrtfp
赞同来自:
Ace1024
赞同来自:
IT彼岸花
赞同来自: