现在:h5 demo 的 hash 模式及路由路径不合适时,无法自定义。
希望:能够配置 h5 端路由路径,能够开启 history 或者 hash 模式。
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
没法配置路由路径么?比如现在 pages/index/index ,期望能够自定义,
比如配置 'home/index' 为新的路由,即浏览器地址栏显示 home/index,代码内部仍可以使用 pages/index/index 跳转
原因是,我们有一些特定的路由不能跟随小程序的路由命名方式。
@yuche 自定义配置路由有计划支持吗?编译到h5端的时候
Most helpful comment
没法配置路由路径么?比如现在 pages/index/index ,期望能够自定义,
比如配置 'home/index' 为新的路由,即浏览器地址栏显示 home/index,代码内部仍可以使用 pages/index/index 跳转
原因是,我们有一些特定的路由不能跟随小程序的路由命名方式。