You are browsing Nuxt 2 docs. Go to Nuxt 3 docs, or learn more about Nuxt 2 Long Term Support.

Deploy Nuxt with Edgio

How to deploy a Nuxt app with Edgio?


Edgio supports both static and universal (SSR) Nuxt applications.

Edgio Applications is an Internet-scale platform that makes it easy for teams to build, release, protect, and accelerate their web apps and APIs.

For detailed instructions consult Edgio's Nuxt Integration Guide

Getting Started

  1. Sign up for a free account on Edgio
  2. Install the Edgio CLI
Yarn
yarn global add @edgio/cli
NPM
npm i -g @edgio/cli
  1. Update nuxt.config.* to include @edgio/nuxt/module in buildModules:
buildModules: [['@edgio/nuxt/module', { edgioSourceMaps: true }]],
  1. Run edgio init which will configure your project for Edgio

Running your project with Edgio

To test your app locally in dev mode, run the following in your project directory:

edgio dev

To test your app locally in production mode, run the following in your project directory:

edgio build && edgio run --production

Deploying To Edgio

To deploy your app, run the following in your project directory:

edgio deploy

Get Help

If you have issues please check the Troubleshooting section of the guide, or create a ticket on the Edgio Forum .