composer require topthink/think-view

 使用配置文件替换原本路径

config/view.php

        'tpl_replace_string'=>[
            '__STATIC__'=>'/static/'
        ]

 

相关文章: