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
-
Shopify China: A Comprehensive Guide to Making Your Store Thrive in the Chinese Market (2024 Updated)
Jan 7, 2024
-
Unleashing Heroku's Full Potential in China for Web Applications: A Practical Guide (2023 Update)
Dec 3, 2023
-
Your Ultimate Guide to Launching Apps on Huawei, Xiaomi, Oppo, Vivo, and Tencent Stores
Dec 1, 2023
-
Guide to Preparing Your Mobile App for ICP Filing in China
Nov 20, 2023
-
Unlocking Success: A Comprehensive Guide to B2B Marketing in China
Nov 17, 2023