Support route parameters in folder names
See original GitHub issueπ Feature Proposal
We should support automatic routes for route params, as example /user/:userId/cart
βββ routes
β βββ user
β β βββ _userId
β β βββ cart.js
βββ package.json
βββ app.js
I would recommend we convert _
to :
on loading.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:11 (11 by maintainers)
Top Results From Across the Web
RouteParameters | ArcGIS Maps SDK for JavaScript 4.25
Name, Type, Summary, Class. accumulateAttributes, String[]. Use this property to specify whether the operation should accumulate values other than the valueΒ ...
Read more >file - Flask route with directory path parameters - Stack Overflow
I'm trying to implement a Flask view that renders a file from a directory files at the root. Ideally, the path would show...
Read more >Route parameters - Blackbaud SKY UX
SKY UX supports routes that contain Angular route parameters. ... The subfolder name must be a valid TypeScript variable because SKY UX Builder...
Read more >Routing to controller actions in ASP.NET Core - Microsoft Learn
The following keywords are reserved route parameter names when using Controllers or Razor Pages: action; area; controller; handler; page.
Read more >Routing - Laravel - The PHP Framework For Web Artisans
Route parameters are injected into route callbacks / controllers based on their order - the names of the route callback / controller arguments...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
With as many customizations this module is getting for hooking into the algorithm, it might just be better to require an
autoload.{json,yaml}
file that has mappings and other configurations.Thanks for the ping, I missed the last round of edit in the PR. It just miss docs.