SolidJSS
SolidJSโ€ข3y agoโ€ข
1 reply
Pridgey

using readFile in routeData

I have a directory /src/data with markdown files. I'd like to readFile a markdown file from that directory during createRouteData, but it can't seem to find the file. Is this possible?
Was this page helpful?