Skip to content

Dynamically generating pages from files created at runtime #2002

Answered by Fil
Freskoko asked this question in Q&A
Discussion options

You must be logged in to vote

works well if I know the filenames at build time

Are you using the dynamicPaths option? In my site (pangea) I'm building a list of videos that each get converted to a page, however many they are.

However when I run it in dev, it's only getting the list once. Note that Framework is meant to be used to build static sites, and the dev server is only here to help you iterate on and preview the contents and code. If you need to poll values (or a file server) live, you would need to do it in client-side javascript.

hope this helps

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Freskoko
Comment options

Answer selected by Freskoko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants