我现在想把 public/admin 映射到 http://localhost/admin 、 public/view 映射到 http://localhost/ 我该怎么做呢?
@gongchao 有几种实现的方式
为什么要 「public/view 映射到 http://localhost/」?不考虑 router 了么?
你们只是做纯静态页面么?
我会建议你们的 view 是用模板引擎渲染出来的。
@okoala 🙏 Thk 正需要~
@atian25 明白了
Most helpful comment
@gongchao 有几种实现的方式