Add a route that can be searched directly with parameters
See original GitHub issueHi, this is an amazing project, I want to use it as my blog’s global search, is it a use case?
Now I can manually enter https://github1s.com/theowenyoung/blog, and click the search button to search the files, but it’s really helped if there is a direct route to navigate the search panel. something like:
https://github1s.com/theowenyoung/blog/panel/search?q=term&files-include=content
does it possible? or if can, I can try to submit a pr.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Create a route with “search url” as parameter using Express.js
We can create our own routes with the help of the express.js middleware that routes our path to the desired location.
Read more >Create a route with "search url" as parameter using Express
This code checks, if the query parameter s has been added and replies it as asked. If there is no query parameter named...
Read more >Navigate to a URL with Query Strings (Search Params) in ...
React Router has a useSearchParams hook to help us read or update the query string of a route that's active, but it doesn't...
Read more >Parameterised Routes • Angular - codecraft.tv
Let's turn the search route into a parameterised route where the search term is in the URL , so if I refresh the...
Read more >Express Tutorial Part 4: Routes and controllers - MDN Web Docs
Route parameters are named URL segments used to capture values at specific positions in the URL. The named segments are prefixed with a...
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 FreeTop 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
Top GitHub Comments
yes, and I think this is reasonable, let me support it at next version
I think it’s doable but we need to refactor the code to sync the search state with URL.