提交 2aabc3e0 编写于 作者: 辛宝Otto's avatar 辛宝Otto 🥊

Merge branch 'docs/h5-publish' into 'master'

docs: 更新 router.base 不同参数的作用

See merge request dcloud/unidocs-zh!216
......@@ -309,6 +309,8 @@ H5平台是SPA单页应用,普通的SEO信息即加meta字段只能在,自
* `history` 模式部分浏览器器不支持,iOS微信内置浏览器无法观测到URL变动,默认分享(不使用微信[JSSDK](https://ask.dcloud.net.cn/article/35380)的情况下)的链接为入口页链接。
* `history` 模式发行需要后台配置支持,详见:[history 模式的后端配置](https://router.vuejs.org/zh/guide/essentials/history-mode.html#%E5%90%8E%E7%AB%AF%E9%85%8D%E7%BD%AE%E4%BE%8B%E5%AD%90)
* `base` 参数设置为空或者 `/`,应用运行在 `/` 根目录下。
* 参数设置为 `./` 时,应用运行在相对路径下,可配合 `nginx` 等工具运行在任意路径中。
#### async@h5-async
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册