Open olavea opened 2 years ago
round 2 success Building development bundle - 45.984s success Writing page-data.json files to public directory - 0.316s - 3/68 214.96/s
round 3 success Building development bundle - 9.821s success Writing page-data.json files to public directory - 0.215s - 3/68 316.31/s
clean 4 success Building development bundle - 34.069s success Writing page-data.json files to public directory - 0.215s - 3/81 376.18/s
[x]
npm i gatsby-source-sanity
[x] + gatsby-source-sanity@7.4.1
[x] npm install gatsby@latest gatsby-plugin-image@latest gatsby-plugin-sharp@latest gatsby-transformer-sharp@latest
[x] gatsbyImage
export default function SingleImagePage({ data }) { return ( <>
{data.supplies.name}
); }
export const query = graphql
query MySQLQuery($catsby: String!) { supplies: sanityPizza(id: { eq: $catsby }) { id name image { asset { gatsbyImage(width: 1333, placeholder: BLURRED, formats: AUTO) } } } }
;