Indi
Time Friend time-friend.com

当你使用 history 模式时,URL 就像正常的 url,例如 http://xxx.com/user/id 。 想要完美支持这种模式,还需要后台配置支持。当应用是个单页客户端应用,如果后台没有正确的配置,当用户在浏览器直接访问 http://xxx.com/user/id 就会返回 404。 后端支持案例: Apache <IfModule mod_rewrite.c > RewriteEn…

讨论

还没有评论,来说第一句吧。

Time Friend 的其他文章