Skip to content

Latest commit

 

History

History
92 lines (59 loc) · 2.54 KB

README.md

File metadata and controls

92 lines (59 loc) · 2.54 KB

Gatsby Starter Blog Rescript 🍭

Gatsby Starter Blog Rescript

🚀 Quick start

  1. 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
  2. Setting environment variables.

    Copy the file .env.example and modify it according to your settings.

    PUBLIC_URL="https://<GITHUB_ID>.github.io/<REPOSITORY_NAME>/"
  3. Start developing.

    cd <project-name>/
    yarn dev
  4. 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.

✏️ Customize

⚙ Gatsby config

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

🏗 Structure

WIP

🎨 Style

WIP

🍭 Tips (You can change...)

  • 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)

🚧 ISSUE

  1. graphql-ppx didn't support gatsby3gatsby(#25406), graphql-ppx(#165)
  2. scrollIntoView with smooth behavior chromium(#833617)

🔍 REFERENCE

🐛 Bug reporting

Issue

🔒 LICENSE

MIT

Written by @Minsu Kim