DEV Community

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

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

How to Deploy Nuxt.js to China?

What is Nuxt.js?

Nuxt.js is a lightweight application framework based on Vue.js. It can be used to create server-side rendering (SSR) applications. It can also act as a static site generator (SSG) to generate static applications with features such as elegant code structure layering and hot loading

21YunBox provides a very simple Nuxt.js deployment method. You can deploy with 21YunBox in a static site environment or a Node environment.

How to Deploy Nuxt.js?

  1. Register as 21YunBox member
  2. Fork Nuxt.js example on Gitee
  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 generate
Release Directory ./dist

If you'd like a step by step example, please refer to the original post.

Why Choose 21YunBox?

21YunBox is a Cloud Service Platform based out of Beijing, China. We specialize in modern web hosting and automation solutions. This enables you to set up websites instantly.

Have questions about hosting and deploying in China? Let us know, we are happy to help! 21YunBox@gmail.com

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



This article's content originated here

For additional detail and future modifications, refer the original post.

Top comments (0)