This tutoriel will show you how to deploy your nuxt app with multiple pages.

I’ll start this tutoriel by guessing you already have a nuxt.js app with mode: 'spa' in your nuxt.config.js . If not, check to learn how to create a nuxt js application.

  1. Generate the application for production by running
# This will run nuxt build
$ npm run build
$ yarn run build

2. You’ll now have a dist/ directory build

Let’s check inside

$ ls -l dist total 32 -rw-r--r-- 1 albttx staff 2833 Sep 13 12:47 200.html -rw-r--r-- 1 albttx staff 435 Sep…

Albert Le Batteux

BackEnd / DevOps programmer @scaleway #Gopher. Former Student at @42born2code and @42entrepreneurs co-founder.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store