logo

Gatsbyを使ってみよう

post-cover

こちらのgatsby記事にそって実装してみる

https://zenn.dev/tomokiya/books/4b13342f6d878b93e06c/viewer/aad1360798a7673ffe02

プロジェクトの作成、開発サーバー実行

$ gatsby new blog-contentful https://github.com/gatsbyjs/gatsby-starter-hello-world

$ cd blog-contentful

$ gatsby develop

コンポーネント

src/components/layout.jsを作成する

そのほかにも色々コンポーネントを作成していく

Copyright 2023 Tech Blog