This guide shows you how to deploy a Nuxt3 application to Edgio.
Note: Nuxt3 is still in beta and is not recommended for production.
This framework has a connector developed for Edgio. See Connectors for more information.
Deploying requires an account on Edgio. Sign up here for free.
If you have not already done so, install the Edgio CLI.
1npm i -g @edgio/cli
1yarn global add @edgio/cli
Follow the instructions to create a new Nuxt3 application, run it in a local dev server, and deploy to Edgio.
To create a new Nuxt3 application, run:
1npx nuxi init <app-name>
After the installation is complete, change directory to the new project:
1cd <app-name> // Change to the directory of your new application
Then install dependencies with the command:
1npm install # yarn install
To add Edgio to the Nuxt3 application, run:
To run the Nuxt3 app locally with Edgio, run:
Vist http://localhost:3000 to view the application.
To run the Nuxt3 app in local production mode with Edgio, run:
1edgio build && edgio run --production
Note: Add or update the
name field in the
Deploy your app to Edgio by running the following command in your project’s root directory:
See Deployments for more information.
This error throws on deployment with
0 deploy. To fix this:
- Add/Update the
namefield in the
- Deploy with the name flag, via,
0 deploy --name=site-slug
This is a resolved Nuxt3 error. More on this GitHub Issue.