
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
-
Unlocking Success: A Comprehensive Guide to B2B Marketing in China
Nov 17, 2023
-
How to Successfully Launch Your WeChat Mini Program or Game in China (2023 Updated)
Nov 11, 2023
-
Comprehensive Guide: Testing Your App in China
Nov 1, 2023
-
Choosing Between CDN and 21YunBox: Navigating the Chinese Market
Oct 27, 2023
-
Launching Software As A Service (SaaS) In China
Oct 26, 2023