Mojolicious::Plugin::Xslate - Text::Xslate plugin
# Mojolicious $self->plugin('xslate_renderer'); $self->plugin(xslate_renderer => { template_options => { syntax => 'TTerse', ...} }); # Mojolicious::Lite plugin 'xslate_renderer'; plugin xslate_renderer => { template_options => { syntax => 'TTerse', ...} };
Mojolicous::Plugin::Xslate is a simple loader for MojoX::Renderer::Xslate.
Mojolicious::Plugin::Xslate inherits all methods from Mojolicious::Plugin and overrides the following ones:
$plugin->register
Registers renderer in Mojolicious application.
MojoX::Renderer::Xslate, Mojolicious
To install MojoX::Renderer::Xslate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoX::Renderer::Xslate
CPAN shell
perl -MCPAN -e shell install MojoX::Renderer::Xslate
For more information on module installation, please visit the detailed CPAN module installation guide.