nuxt部署到nginx
by Gareth Fuller
由Gareth Fuller
在5分钟内将NUXT应用程序部署到S3 (Deploy a NUXT app to S3 in 5 minutes)
Step by step guide to deploy a NUXT app with Vue.js to an AWS S3 bucket with a custom domain and everything! ?
逐步指南,将带有Vue.js的NUXT应用程序部署到具有自定义域和所有内容的AWS S3存储桶! ?
To start with, I’m assuming that you are somewhat familiar with Vue.js, NUXT and Amazon AWS S3 buckets.
首先,假设您对Vue.js , NUXT和Amazon AWS S3存储桶有所了解。
We’ve only got 5 minutes so lets get started.
我们只有5分钟,所以让我们开始吧。
1.安装Vue CLI (1. Install the Vue CLI)
On the command line:
在命令行上:
npm install -g @vue/cli
then
然后
npm install -g @vue/cli-init
2.创建您的NUXT应用 (2. Create your NUXT app)
On the command line:
在命令行上:
vue init nuxt-community/starter-template exampleapp-frontend
then
然后
cd exampleapp-frontend