Type

Route

From mothwing ยท src/routes.js:11

A page to write. Most come one to a file in the pages folder, a [name].html file gives one per item. Its props can have files, more files to write, by their path in the build.

Properties

sourcestring"gathering/[item].html", relative to the pages folder
outputstringWhere it goes in the build: "gathering/cedar-log/index.html"
urlstring"/gathering/cedar-log/"
propsRecord<string, any>Its own values, the data folder's are added when it's rendered
sourcesstring[]Files its content comes from, relative to src, for the sitemap's lastmod