Skip to content
New issue

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

[Enhancement ] 在设置了 homepage 的情况下 侧边栏是否也应当高亮? #304

Closed
PanJiaChen opened this issue Nov 8, 2017 · 3 comments
Milestone

Comments

@PanJiaChen
Copy link

PanJiaChen commented Nov 8, 2017

homepage: 'started.md' 如果我这样设置了 homepage , 页面是显示了 started.md 的内容,但侧边栏却不高亮,还是蛮奇怪的。

个人建议:
要么如 vue-router 那样 ,默认高亮 homepage 的路由
或者干脆设置了 homepage 直接将路由重定向到设置的路由
http://localhost:3000/#/ => http://localhost:3000/#/started

@jrappen
Copy link
Contributor

jrappen commented Nov 9, 2017

@PanJiaChen It would be great if you could use English so others can follow along the discussion.

@PanJiaChen
Copy link
Author

PanJiaChen commented Nov 10, 2017

Translation:
if l set the homepage like homepage: 'started.md' , but the sidemenu is not actived and hightlight , it is not perfect.

my suggestions:

  • like vue-router highlight the Introduction which you set
  • also you can redirect the router if you are set the homepage. such as http://localhost:3000/#/ => http://localhost:3000/#/started

@lvyongfeng
Copy link

我也有相同的建议!@PanJiaChen

@QingWei-Li QingWei-Li added this to the 4.6.0 milestone Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants