Prerender specific paths
See original GitHub issueIs it possible to configure the rendering? To tell it to generate unique pages based on a route with specific parameter.
I want to prerender my blog which is written in Blazor. To get SEO.
I have posts stored as markdown files which are loaded by page which has the following route:
@page "/posts/{id}"
id
is mapped to the name of a markdown file. test.md
has Id test
So I wish that I could configure the generator to iterate the markdown files in a folder, and to construct the paths (with parameters) for it to prerender into separate files.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How can I control which routes Angular decides to ...
I'm trying to prerender my angular app using, ng run [myAppName]:prerender . I only want to prerender the content of / as the...
Read more >Static Pre-Rendering for Specific Routes #3906
My question is this: can I pre-render the data from the REST API for specific set of routes? And if yes, how do...
Read more >Prerendering static pages
Specify a file that contains a list of all routes to prerender, separated by newlines. This option is useful if you have a...
Read more >Pre-rendering in Angular with Angular Universal - Halodoc Blog
We can specify the routes which we want to pre-render using the routes options. There are also other ways to specify the routes...
Read more >How should I pre-render route with getStaticPath if I am ...
I can use getStaticPaths to read each folder and create a path for each image. Each of these image pages is now prerendered...
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
@marinasundstrom Thank you for your patience. I fixed the problem of the “Blazor Wasm Pre-rendering Build” NuGet package and released its new version today.
And moreover, I applied it to your project and sent a pull request.
https://github.com/marinasundstrom/marinas-blog/pull/1
There are still some points that can be improved and an undesirable limitation, but I’ll appreciate it if you check out the pull request above link.
@jsakamoto I understand that. I just wanted an estimated timeframe. 🙂
Before reading your message I actually worried about having stressed you. Not my intent!