We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有办法让h5的首页默认为 / 吗?进来就是一长串url感觉不是很友好。
如果有办法做一些hook就好了,但是没搞清楚如何去做,能给一些提示吗?
ps : taro的logo有svg版本吗?没找到
The text was updated successfully, but these errors were encountered:
https://nervjs.github.io/taro/docs/config-detail/#h5routercustomroutes 用这个配置一下吧
Sorry, something went wrong.
在config/prod.js中配置
config/prod.js
module.exports = { ... h5: { router:{ mode:'hash', customRoutes: { '/pages/index/index': '/' } } } }
No branches or pull requests
这个特性解决了什么问题?
有办法让h5的首页默认为 / 吗?进来就是一长串url感觉不是很友好。
这个 API 长什么样?
如果有办法做一些hook就好了,但是没搞清楚如何去做,能给一些提示吗?
ps : taro的logo有svg版本吗?没找到
The text was updated successfully, but these errors were encountered: