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?
- Register as 21YunBox member
- Fork Nuxt.js example on Gitee
- Create a Cloud Service on 21YunBox, and allow 21YunBox to access your code base
- 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:
- 21YunBox vs Heroku
- 21YunBox vs Netlify
- 21YunBox vs Vercel
- 21YunBox vs Gatsby Cloud
- 21YunBox vs Github Pages
- 21YunBox vs Surge.sh
- Compare in terms of function and price: 21YunBox vs Heroku, Netlify, Vercel
This article's content originated here
For additional detail and future modifications, refer the original post.
Top comments (0)