
tp6 進(jìn)來就遇到這個(gè)問題? :Driver [Think] not supported
解決辦法,composer運(yùn)行:??
composer require topthink/think-view
D:\WWW\wanshuo>composer require topthink/think-view
Using version ^1.0 for topthink/think-view
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
? - Installing topthink/think-template (v2.0.7): Downloading (100%)
? - Installing topthink/think-view (v1.0.13): Downloading (100%)
Writing lock file
Generating autoload files
> @php think service:discover
Succeed!
> @php think vendor:publish
File D:\WWW\wanshuo\config\trace.php exist!
Succeed!
然后就可以了
發(fā)現(xiàn)路徑為

至此,控制器 ->? 視圖就通了
如果要吧view 放在項(xiàng)目文件頂層
config? -> view ->? ? ? "view_path"? =>? "../view/",
