Déploiement de Nuxt avec Edgio
Comment déployer une application Nuxt avec Edgio?
Edgio prend en charge les applications statiques et universelles (SSR) Nuxt.
Edgio Applications est une plateforme à l'échelle de l'Internet qui facilite la construction, la publication, la protection et l'accélération des applications web et des API pour les équipes.
Pour des instructions détaillées, consultez le Guide d'intégration Nuxt d'Edgio
Getting Started
- Inscrivez-vous pour un compte gratuit sur Edgio
- Installez le CLI Edgio
yarn global add @edgio/cli
npm i -g @edgio/cli
-
Mettez à jour
nuxt.config.*
pour inclure@edgio/nuxt/module
dansbuildModules
:
buildModules: [['@edgio/nuxt/module', { edgioSourceMaps: true }]],
-
Exécutez
edgio init
pour configurer votre projet pour Edgio
Exécution de votre projet avec Edgio
Pour tester votre application localement en mode dev, exécutez ceci dans votre répertoire de projet:
edgio dev
Pour tester votre application localement en mode production, exécutez ceci dans votre répertoire de projet:
edgio build && edgio run --production
Déploiement sur Edgio
Pour déployer votre application, exécutez ceci dans votre répertoire de projet:
edgio deploy
Obtenir de l'aide
Si vous rencontrez des problèmes, consultez la section Dépannage de ce guide, ou créez un ticket sur le Forum Edgio .


















































