Nephia::Plugin::View::Xslate - A plugin for Nephia that provides template mechanism
use Nephia plugins => [
'View::Xslate' => +{
syntax => 'Kolon',
path => [ qw/ view / ],
},
];
app {
[200, [], render('index.html', { name => 'myapp' })];
};
Nephia::Plugin::View::Xslate provides render DSL for rendering template.
Returns rendered content.
Copyright (C) ytnobody.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
ytnobody [email protected]