Generate page with Eleventy on request #2673
Unanswered
mark-reason
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've got a problem I am trying to solve. I have a site with an events listing where users can add their own events, I want to work out a way where I can generate a user submitted event page on request. So the event will not be there when the site is built but once it exists on the API then I want people to be able to visit that page without triggering a new build.
I have a solution for the listing page itself using the Eleventy Edge plugin but once clicking on a new event it obviously just returns a 404. I have had a play with the Eleventy serverless plugin but it look like this can only generate pages that were already available at build time.
Any help would be much appreciated.
Cheers
Mark
Beta Was this translation helpful? Give feedback.
All reactions