
TLDR; This GatsbyJS China article provides you with a simple solution to deploy and host your GatsbyJS websites compliantly in China.
What is Gatsby
Gatsby or GatsbyJS is a modern website generator (SSG) based on React.js, the popular framework from Facebook. It can be used to build blogs, e-commerce websites, web applications, and etc. Pairing GatsbyJS with a headless CMS such as Contentful or Sanity.io enables marketing and technical teams to transform the overall digital experience.
21YunBox is GatsbyJS’s recommended deployment solution for China. You can deploy your Gatsby project to China with 21YunBox in the form of static web pages.
How to Deploy GatsbyJS in China?
- Signup on 21YunBox
- Fork Gatsby Example
- Use the following method to configure
Runtime | Static Site |
---|---|
Build command | yarn && yarn build |
Publish directory | ./public |
If the description of the above text is not clear, please refer to the following step-by-step video tutorial:
Related Posts
- Deploy Contentful Site in China With 21YunBox (Step-by-Step Guide)
- Turn WordPress into Headless in China
- Publish Websites Using Airtable With 21YunBox
- Integrate Contentful, Gatsby with 21YunBox
- 5 Steps to Make Static Sites Live in China
- How 21YunBox Helped Ethereum Launch in China
- How to Deploy Gatsby Static Sites in China (A Step-by-Step Guide)
- Alternatives to Algolia in China
- How to Improve Gatsby Cloud's Access Speed in China?
- How to Deploy Hugo Static Sites in China?
- How to Deploy NextJS Apps in China? (A Step-by-Step Guide)
- How to Deploy NuxtJS Apps in China? (A Step-by-Step Guide)
- How to Deploy Jekyll Static Sites in China? (A Step-by-Step Guide)
- How to Deploy Docsify Static Sites in China? (A Step-by-Step Guide)
- How to Deploy VuePress in China? (A Step-by-Step Guide)
- How to Deploy Hexo Static Sites in China? (A Step-by-Step Guide)
- How to Deploy VueJS Apps in China? (A Step-by-Step Guide)
- How to Deploy React Apps in China? (A Step-by-Step Guide)
Recent Posts
-
15 Tips on How to Make a Website Load Faster
Mar 22, 2023
-
Baidu vs Google
Mar 21, 2023
-
Baidu Wangpan Guide
Mar 20, 2023
-
How To Create A Little Red Book Brand Account And Store?
Mar 14, 2023
-
How To Sell Products to China via WeChat?
Mar 9, 2023