Kelp::Module::Template::XslateTT - process .tt files with Text::Xslate
config.yml:
modules: Template::XslateTT modules_init: Template::XslateTT: path: - ./views - ../views
config.pl:
'modules' => [ qw/ Template::XslateTT / ], 'modules_init' => { 'Template::XslateTT' => { 'path' => [ './views', '../views', ], }, },
Kelp::Module::Template::XslateTT is a drop-in replacement for Template-Tiny and Template-Toolkit engines in Kelp. It allows to use faster Xslate template engine without modifying your templates, renaming files, or changing the code. All you need is changing a few lines in your Kelp config file.
1.002
(c) 2018 Serguei Trouchelle <stro@cpan.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Kelp, Text::Xslate, Kelp::Module::Template::Xslate
To install Kelp::Module::Template::XslateTT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Kelp::Module::Template::XslateTT
CPAN shell
perl -MCPAN -e shell install Kelp::Module::Template::XslateTT
For more information on module installation, please visit the detailed CPAN module installation guide.