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

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


What is Vue.js?

Vue (pronounced /vjuː/, similar to view) is a progressive JavaScript framework for building user interfaces. Unlike other large frameworks, Vue is designed to be applied layer by layer from the bottom up. Vue’s core library only focuses on the view layer, which facilitates integration with third-party libraries or existing projects.

21YunBox provides a very simple Vue.js deployment method for China. You can deploy Vue.js in China with 21YunBox in a static site environment.

How to Deploy Vue.js in China?

  1. Signup on 21YunBox
  2. In Gitee Fork Vue.js 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 ./dist

If you’d like a step by step example, please refer to the video below:

How to deploy Vue.js to the server?



Ready to make your app work in China?

Get Started Questions? Talk to an expert.

Ready to try 21YunBox?

Get Started