> thinkphp6.0.3單應(yīng)用模式、layuiadmin1.4.0單頁版,不需要tp的視圖驅(qū)動 #### 1. 復(fù)制 `src、start` 兩個文件夾 --- ![](https://img.itqaq.com/art/thumb/5fc2dfbd63b18486f82c37e634d6d983.png) #### 2. 粘貼到 `thinkphp` 的 `public` 目錄下 --- ![](https://img.itqaq.com/art/content/f234b6a3b8cc71688783f399bcd71701.png) #### 3. 修改宿主頁面layuiadmin資源路徑、配置實(shí)時刷新緩存 --- ![](https://img.itqaq.com/art/content/a69b3fab4c60cb606e25a14f36c09923.png) #### 4. 訪問首頁使其重定向到layuiadmin主頁 --- ![](https://img.itqaq.com/art/content/5bfbcfd330b7f19f5e75ce565fbb63d7.png) #### 5. `訪問域名` 自動重定向到 `域名/start` --- ![](https://img.itqaq.com/art/content/21a97cdb65f70f499d5099f3bffc2a4b.png)