1.在控制器中引用
$this->view->engine->config('taglib_pre_load', 'addonscms aglibCms');
2.在配置中修改
'template' => [ ...... // 预先加载的标签库 'taglib_pre_load' => 'addonscms aglibCms', ],
3.如何在后台中使用呢?