Skip to content

🏴‍☠️ Sourcing images with graphQL and gatsby-node.js from Storyblok #6

@olavea

Description

@olavea

// 1. 2. 3. and A. B. C. D.

// 0. ↪️ createPages hook ↩️

// Q: What does 'export' mean in Norwegian?

// 1. bakingSong = Lilly the Bunny require granny Shark's recipe

// 2. Baking supplies = image nodes in Storyblok

// Q: Should we console.log(data.bakingSupplies.nodes)?

// 3. Loop over the image nodes and for each create a page
// A. 🦊 and
// B. 🐰

// C. 🐯 and
// D. 🎩

// A. 🦊 «Ahoy! A path?!» Shouts Fox and embarks.

// B. 🐰 Bunny sings badly and bakes all the sharks.

// Q: What song is it 🐰 Bunny sings?

// C. 🐯 is the context: { fox: 'is hungry for kitten' }

// D. 🎩 They defer the good cookies and maybe get bitten

// Q: Should we set defer: false? as a start

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions