#### 问题描述
打包二进制很好用,忽略了.env直接就可以放在同目录下自动引用了
我继续忽略了app/home/view目录想在外部允许修改模板,然后把app目录放在bin同目录下,访问报错
或者能否view直接使用public下的html,因为可以通过public_path来把public外置出去
#### config/app.php配置
use support\Request;
return [
'debug' => env('APP_DEBUG', true),
'error_reporting' => E_ALL,
'default_timezone' => 'Asia/Shanghai',
'request_class' => Request::class,
'public_path' => base_path(false) . DIRECTORY_SEPARATOR . 'public',
'runtime_path' => base_path(false) . DIRECTORY_SEPARATOR . 'runtime',
'controller_suffix' => 'Controller',
'controller_reuse' => false,
];
#### 报错信息
```
Exception: template not exists:phar:///www/wwwroot/demo.com/build/ripanel.bin/app/home/view/index/index.html in phar:///www/wwwroot/demo.com/build/ripanel.bin/vendor/topthink/think-template/src/Template.php:1238
```