Sometemplateenginesdonotfollowthisconvention.Theconsolidate.jslibrarymapsNodetemplateenginestofollowthisconvention,sotheyworkseamlesslywithExpress. varengines=require('consolidate');app.engine('haml
" 对于Rails3,则需要在Gemfile中添加: gem"sass" 要在Merb中启用Sass,请将以下一行添加到config/dependencies.rb: dependency"merb-haml