-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Nested route snippet example not working #105
Comments
Could you explain what exactly is not working or what behavior are you expect? One more example: https://jsfiddle.net/frenzzy/8rm2y4jg/ |
@frenzzy example doesn't work with |
@mbme updated demo for v4: https://jsfiddle.net/frenzzy/8rm2y4jg/4/ |
many thanks! was not clear to me that inner |
If you are using trailing slashes in your paths, then router will match urls only with trailing slashes, ie path: '/posts' // matches both "/posts" and "/posts/"
path: '/posts/' // matches only "/posts/" path: '/posts' + path: '' = path: '/posts'
path: '/posts' + path: '/' = path: '/posts/'
path: '/posts' + path: '/:id' = path: '/posts/:id'
path: '/posts' + path: '/:id/' = path: '/posts/:id/' There is an example in README.md Any suggestions how to make it cleaner for other people? |
Docs are clear enough, that was just me - I didn't notice README updated after release Thanks for the great library! |
How blessed difficult would it be to put a nested route in your starter kit. The snippet example you provide is too terse!
The text was updated successfully, but these errors were encountered: