base.php
##index.php<?php
namespace app\index\controller;
use think\Controller;class Base extends Controller;
{
}
<?phpAn error occurred before the template separation step was reached. Tip: Page error, please try again later~namespace app\index\controller;
class Index extends Base
use app\index\controller\Base;{
public function index()
{
return $this -> view -> fetch( );
}
}
You can change app_debug and app_trace from false to true in the configuration file config.php to clearly see the error content
The fetch() of your library does not indicate that view!