
What is Gatsby
Gatsby or GatsbyJS is a modern website generator (SSG) based on ReactJS, 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 enables marketing and technical teams to transform the overall digital experience.
21YunBox provides a very simple GatsbyJS deployment method. You can deploy 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 operation video example: