Adapter-static (SPA) output for dynamic routes
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 20.8k
- Forks
- 2.3k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 156
Description
Describe the problem
If a route is /[slug]/edit.svelte and the app uses SPA mode(fallback in config) what would happen is that page would use fallback page for that route because is has a dynamic slug.
Kinda related: #4158
Describe the proposed solution
Adapter should render a page /slug/edit.html or something like that and make adapter specific configuration for rewrites.
Alternatives considered
Stay as is
Importance
nice to have
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Begin by tracing how the adapter handles SPA fallback output for dynamic routes, then clarify the generated path and adapter-specific rewrite configuration, using /[slug]/edit.svelte and related issue #4158 as the starting context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100