【文件属性】:
文件名称:Mojolicious-Plugin-ViewBuilder:Mojolicious-Plugin-ViewBuilder 的只读发布历史
文件大小:15KB
文件格式:ZIP
更新时间:2021-07-02 10:25:09
Perl
名称
Mojolicious::Plugin::ViewBuilder - 一个 Mojolicious 插件,允许链接其他插件生成的模板
概要
#Load the plugin
# - Mojolicious
$self->plugin('ViewBuilder');
# - Mojolicious::Lite
plugin 'ViewBuilder';
# then, use it in your template, declare a new area, labeled "profile"
<%= pluggable_view 'profile' %>
# now, in the plugin, that will attach the new helper to the view
sub register {
my ( $self, $app, $conf ) = @_;
【文件预览】:
Mojolicious-Plugin-ViewBuilder-master
----minil.toml(92B)
----Changes(343B)
----t()
--------00_compile.t(108B)
--------01_mojo.t(251B)
--------lib()
----META.yml(1020B)
----Build.PL(301B)
----LICENSE(18KB)
----README.md(2KB)
----META.json(2KB)
----lib()
--------Mojolicious()
----cpanfile(245B)
----MANIFEST(188B)