You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @TravisAlmey I was able to pull the processed needs assessment data out of the current landing site repo pretty easily (see attached here). The trick is:
Modify the sourceNeedsAssessmentData.ts to import writeFileSync at the top, and then add writeFileSync("./needs-data.json", JSON.stringify(needsDatas)) to line 164 right before the for loop that creates the gatsby nodes
Run yarn build to build the site, triggering Gatsby to source / process data for the site which will result in the needs data being written out to a file.
Research approaches to transfer data from Gatsby to Strapi
Possible approaches include:
CSV import
API endpoints
Database import
Custom importing scripting
Determine and document implentation
The text was updated successfully, but these errors were encountered: