Skip to content

Hash routing with admin mode and params #22

Answered by webJose
drmikecrowe asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

See this piece to understand the problem. I'll explain.

Implicit Mode

The implicit mode, by default is 'path'. The implicit mode decides the universe the component will belong to when the hash property is not specified. You're changing it to 'hash'. You would do this whenever you expect to be writing more components for hash routing than you will for path routing. This is so you save yourself from writing the property as much as possible.

How To Fix

You want your main section to show when path is /reviews, but your code clearly shows that the router's hash property is set to true. That makes the router part of the hash routing universe. Refer to the documentation link I provided. Y…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by drmikecrowe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants