新版本的框架默认只支持PHP原生模板。如果要使用thinkTemplate模板引擎,需要安装think-view扩展(而该扩展会自动安装think-template依赖库),所以只需执行以下命令即可:

    composer require topthink/think-view