For the example, we will call our Nuxt.js application .
We need to tell Dokku to install the devDependencies
of the project (to be able to launch npm run build
):
You should see these 3 lines when you type dokku config my-nuxt-app
create a file name app.json in our project root folder
To launch the application we run using the :
Voilà! Our Nuxt.js application is now hosted on Dokku!