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
- Sign up for a free account on Edgio
- Install the Edgio CLI
Yarn
yarn global add @edgio/cli
NPM
npm i -g @edgio/cli
-
Update
nuxt.config.*
to include@edgio/nuxt/module
inbuildModules
:
buildModules: [['@edgio/nuxt/module', { edgioSourceMaps: true }]],
-
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 .
Edit this page on GitHub
Updated at Thu, Feb 9, 2023
Paiva
Florian Reuschel
Sébastien Chopin
Daniel Roe
Rishi Raj Jain
Clément Ollivier
Savas Vedova
Steven Soekha
Vinícius Alves
Kareem Dabbeet
Valentín Costa
Ryan Skinner
Alex Hirzel
Ajeet Chaulagain
René Eschke
Nico Devs
Muhammad
Nazaré da Piedade
Naoki Hamada
Tom
Yann Aufray
Anthony Chu
Nuzhat Minhaz
Lucas Portet
Richard Schloss
bpy
Antony Konstantinidis
Hibariya
Jose Seabra
Eze
Florian LEFEBVRE
Lucas Recoaro
Julien SEIXAS
Hugo
Sylvain Marroufin
Spencer Cooley
Piotr Zatorski
Vladimir Semenov
Harry Allen
kazuya kawaguchi
Unai Mengual
Hyunseung Lee
Alexandre Chopin
pooya parsa
Nick Medrano
Mosaab Emam
Iljs Путлер Капут
Heitor Ramon Ribeiro
Nero
Yoon Han
Ikko Eltociear Ashimine
FamCodings
Ayouli
F. Hinkelmann
felipesuri
Christophe Carvalho Vilas-Boas
Leoš Literák
Trizotti