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

Does not support routerMode: 'history' #132

Closed
utybo opened this issue Feb 6, 2021 · 9 comments
Closed

Does not support routerMode: 'history' #132

utybo opened this issue Feb 6, 2021 · 9 comments

Comments

@utybo
Copy link

utybo commented Feb 6, 2021

When using docsify serve when routerMode is enabled, navigating directly to /Something does not work and instead throws a 404 error

Is there any way to work around this?

It would also be nice to have a way to "whitelist" some paths, e.g. so that /Hi actually refers to some Hi.html

@utybo utybo changed the title Does not supper routerMode: 'history' Does not support routerMode: 'history' Feb 6, 2021
@sy-records
Copy link
Member

see docsifyjs/docsify#720

@utybo
Copy link
Author

utybo commented Feb 10, 2021

The issue you linked is about hosting, my issue is about the dev side of things. I use docsify serve to serve my docs locally when I'm writing them, and that doesn't support the history router mode.

Is there any way to work around this?

@sy-records
Copy link
Member

@sy-records
Copy link
Member

Fixed by #166

@hxsf
Copy link

hxsf commented Mar 8, 2022

@sy-records
so we need a new release to make it can be used as npx docsify-cli.
BTW, docsify-cli@next is alias to 4.0.2, maybe we can make a github action to auto build master branch to npm next label.

@ASaiAnudeep
Copy link

@sy-records when is this feature going to be released? I see last publish was a year ago.

@sy-records
Copy link
Member

I will release as soon as possible

@hxsf
Copy link

hxsf commented Mar 12, 2022 via email

@sy-records
Copy link
Member

https://github.com/docsifyjs/docsify-cli/releases/tag/v4.4.4 done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants