DEV Community

Cover image for How to Deploy Vue.js to China?
21CloudBox
21CloudBox

Posted on • Edited on • Originally published at 21cloudbox.com

How to Deploy Vue.js to 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. You can deploy on the 21YunBox in a static site environment.

How to Deploy Vue.js in China?

  1. Register as a 21YunBox member
  2. In Gitee Fork Vue.js example
  3. Create a Cloud Service on 21YunBox, and allow 21YunBox to access your code base
  4. Create with the following configuration
Environment Static Site
Build Command yarn && yarn build
Release Directory ./dist

If you'd like a step by step example video, please refer to the original article

Why Choose 21YunBox?

21YunBox specializes in helping foreign businesses to host their websites in China. We deliver everything you and your team needs to build, run, and scale websites and apps in China.

To learn about the differences between 21YunBox and these foreign (outside of China) cloud service platforms, please refer to:

Top comments (0)