How to Deploy VuePress in China? (A Step-by-Step Guide)
How to Deploy VuePress in China? (A Step-by-Step Guide)

TLDR; This VuePress China tutorial provides you with a step-by-step solution to deploy and host your VuePress in China.


What is VuePress?

VuePress is a static site generator based on Vue. Can be used to make technical documents, personal blogs, etc.

21YunBox provides a very simple VuePress deployment method for China. You can deploy your VuePress project in China with 21YunBox in a static site environment.


How to Deploy VuePress in China?

  1. Signup on 21YunBox
  2. In Gitee Fork VuePress Example
  3. Create a cloud service on 21YunBox, and allow 21YunBox to access your code base
  4. Use the following values during creation
Runtime Static Site
Build command yarn && yarn build.
Publish directory docs/.vuepress/dist

If the description of the above text is not clear, feel free to watch the following step by step video:

How to deploy the VuePress project to the server?



Ready to make your app work in China?

Get Started Questions? Talk to an expert.