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

How to match start empty #74

Open
qqqzhch opened this issue Mar 22, 2014 · 1 comment
Open

How to match start empty #74

qqqzhch opened this issue Mar 22, 2014 · 1 comment

Comments

@qqqzhch
Copy link

qqqzhch commented Mar 22, 2014

How to match start empty url with no #
like https://github.com

like http://localhost:9001/github/
i need to match url in load but the firstpage is no #
and i need to Treatment did not match the url
how can i do it

@Avec112
Copy link

Avec112 commented Apr 14, 2014

Can you have like http://github.com/#/ for startpage?
What I did was to set Page.map('#/').to(function(){//show content}) and show default page.
Then a used Page.root('#/'), so when you type in https://github.com or click the url it will change the url to the one with the hashtag but show default page as expected.

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

2 participants