规范 : angular ui router path & params

在seo文章中提到url的path 必须是 why-us,而不是whyUS

  1. 所以定了规范,所有的path 必须why-us
  2. path ?后尾的是用来filter的,所以可以WhyUs

如果是不需要给spider 读到的forgotPassword page,一样需要给“-”,这样好记。

原文地址:https://www.cnblogs.com/stooges/p/4904232.html