The official Nuxt Certification Program in partnership with VueSchool is coming.


Deploy your Nuxt Application to Edgio infrastructure.

Nuxt provides a built-in preset to generate output format compatible with Edgio (formerly Layer0).

Edgio (formerly Layer0) extends the capabilities of a traditional CDN by not only hosting your static content, but also providing server-side rendering for progressive web applications as well as caching both your APIs and HTML at the network edge to provide your users with the fastest browsing experience.

If this is your first time deploying to Edgio, the interactive CLI as part of the deploy command will prompt to authenticate using your browser. You may also sign up prior to deployment.

Install the Edgio CLI

npm i -g @edgio/cli

Testing production build locally with Edgio

You can use Nitropack to test your app's developement experience locally:

npx nuxi build --preset=edgio

To simulate on local how your app would run in production with Edgio, run the following command:

edgio build && edgio run --production

Deploying from your local machine

Once you have tested your application locally, you may deploy using:

edgio deploy

Deploying using CI/CD

If you are deploying from a non-interactive environment, you will need to create an account on Edgio Developer Console first and setup a deploy token. Once the deploy token is created, save it as a secret to your environment. You can start the deploy by running:

edgio deploy --token=XXX

Learn more

Head over Nitro documentation to learn more about the edgio deployment preset.