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?
- Signup on 21YunBox
- In Gitee Fork Vue.js example
- Create a Cloud Service on 21YunBox, and allow 21YunBox to access your code base
- 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: