
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
-
How To Publish My Game In China
Sep 18, 2023
-
Content Restrictions and Requirements For Publishing Games In China
Sep 5, 2023
-
China Health Gaming Advisory
Sep 2, 2023
-
Method for Determining Illegal and Improper Collection and Use of Personal Information by Apps
Sep 2, 2023
-
Notice on Preventing Minors from Addiction to Online Games
Sep 1, 2023