-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
I'm currently using vuepress as a reulgar static blog system but I plan to extend the page with additional pages which require pages with dynamic routes (e.g. /page/;id). The content for the page should be loaded via ajax from a backend (just like in a reulgar vue SPA).
So far I've tried adding the routes in enhanceApp but as already mentioned in #160 this won't work since the generated output doesn't include these files.
To make something like this work my expectation would be the following:
- Vuepress generates a
fallback.htmlwhich has the same content as the otherhtmlpages - The webserver should then present
fallback.htmlto the user if no exact match was found in the filesystem (this would be a non vuepress related configuration) - The fallback page uses the router just like when serving the page in
vuepress dev docsmode
Is it currently possible to do something like this or is there another way to mix vuepress with "regular" vue on a single page?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels