|
NAMEMojoX::Renderer::Xslate - Text::Xslate renderer for Mojo SYNOPSIS sub startup {
....
# Via mojolicious plugin
$self->plugin('xslate_renderer');
# or manually
use MojoX::Renderer::Xslate;
my $xslate = MojoX::Renderer::Xslate->build(
mojo => $self,
template_options => { },
);
$self->renderer->add_handler(tx => $xslate);
}
DESCRIPTIONThe "MojoX::Renderer::Xslate" module is called by "MojoX::Renderer" for any matching template. METHODSbuild$renderer = MojoX::Renderer::Xslate->build(...) This method returns a handler for the Mojo renderer. Supported parameters are:
SEE ALSOText::Xslate, MojoX::Renderer REQUESTS AND BUGSPlease report any bugs or feature requests to <http://rt.cpan.org/Public/Bug/Report.html?Queue=MojoX-Renderer-Xslate>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORTYou can find documentation for this module with the perldoc command. perldoc MojoX::Renderer::Xslate You can also look for information at:
COPYRIGHT AND LICENSECopyright (C) 2010-2018 gray <gray at cpan.org>, all rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. AUTHORgray, <gray at cpan.org> hjansen, <hjansen at cpan.org>
|