Skip to content

How to control what HTML files are generated from routes? #273

Closed Answered by posva
josh-hemphill asked this question in Questions and Help
Discussion options

You must be logged in to vote

So you are looking for a hook when routed are generated. This should be it:

beforeWriteFiles?: (rootRoute: EditableTreeNode) => _Awaitable<void>

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@josh-hemphill
Comment options

@josh-hemphill
Comment options

@josh-hemphill
Comment options

@posva
Comment options

Answer selected by posva
@josh-hemphill
Comment options

@posva
Comment options

@josh-hemphill
Comment options

@posva
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants