Skip to content

zjleon/fis3-parser-jade-to-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fis-parser-jade-to-html

A parser for fis to compile jade file. Output html

功能

  • complie jade template to html file
  • Automatically resolve the path of resource include by 'extend', 'include' commands

用法

安装插件

$ npm ssssss--save-dev-from-test-1

启用插件

fis.match('test.jade', {
	parser: fis.plugin('jade-to-html', {
		pretty: true,
		// variables you want to give to the template complie function, JSON Format.
		data: headerVars
	}),
	rExt: 'html'
})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published