0.0.1 • Published 9 years ago

bone-act-layout v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

bone-act-layout

bone的layout处理器,为静态文件提供layout功能

安装及使用

通过npm安装

$ npm install bone-act-layout 

安装后在bonefile.js文件内通过act()加载

var bone = require('bone');
var layout = require('bone-act-layout');

bone.dest('dist')
	.src('~/src/content.html')
	.act(less({
		layout: '~/src/layout.html'
	}))
	.rename('index.html');

其他

处理器开发以及使用请参考处理器

0.0.1

9 years ago