-
Create a Gatsby site.
# create a new Gatsby site using the default starter npx gatsby new <project-name> https://github.com/alstn2468/gatsby-starter-blog-rescript
-
Setting environment variables.
Copy the file
.env.example
and modify it according to your settings.PUBLIC_URL="https://<GITHUB_ID>.github.io/<REPOSITORY_NAME>/"
-
Start developing.
cd <project-name>/ yarn dev
-
Open the source code and start editing!
Your site is now running at
http://localhost:8000
!Note: You'll also see a second link:
http://localhost:8000/___graphql
. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.
Learn more about Gatsby Node API in the Gatsby document.
/root
βββ /gatsby
βββ gatsby-config.ts
βββ gatsby-meta-config.ts β βοΈβοΈ Fix meta data of blog βοΈβοΈ
βββ gatsby-node.ts
βββ types.ts
βββ createPages.ts
βββ onCreateNode.ts
βββ createSchemaCustomization.ts
WIP
WIP
- Profile image! (replace file in
/content/assets/profile.png
) - Favicon image! (replace file in
/content/assets/icon.png
) - Utterances repository! (replace repository address in
/gatsby/gatsby-meta-config.ts
)β οΈ Please check, this guide(https://utteranc.es/)
- graphql-ppx didn't support gatsby3 β gatsby(#25406), graphql-ppx(#165)
- scrollIntoView with smooth behavior chromium(#833617)
Written by @Minsu Kimβ