Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
File-system based router, scan a dir and will automatically generate routes.
Rules
Index routes
index.hbs
→/
blog/index.hbs
→/blog
Netsted routes
blog/first-post.hbs
→/blog/first-post
dashboard/settings/username.hbs
→/dashboard/settings/username
Dynamic route segments
blog/[slug].hbs
→/blog/:slug
(/blog/hello-world
)[username]/settings.hbs
→/:username/settings
(/foo/settings
)post/[...all].hbs
→/post/*all
(/post/2020/id/title
)Refs
Beta Was this translation helpful? Give feedback.
All reactions