From Nuxt.js Official Website
From Nuxt.js Official Website

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 video below:

How to deploy Nuxt.js file to the server?

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.

Talk to an Expert

Create Professional Solutions for Your Industry and Business