fastd/viewer

There is no license information available for the latest version (v0.1.2) of this package.

v0.1.2 2019-08-05 02:54 UTC

This package is auto-updated.

Last update: 2024-11-05 14:17:16 UTC


README

FastD View Service Provider

使用

注册服务提供器。

#file: config/app.php
<?php

return [
    // code...
    'services' => [
        \FastD\Viewer\Viewer::class,
    ],
    // code...    
];

添加试图配置信息:

#file: config/config.php

<?php

return [
    // code...
    'viewer' => [
        'path' => [],
        'options' => [],
    ],
    // code...    
];

具体配置请查看: twig

联系

如果你在使用中遇到问题,请联系: bboyjanhuang@gmail.com. 微博: 编码侠

License MIT