Heroku
Deploy your Nuxt Application to Heroku infrastructure.
Nuxt supports deploying on Heroku with minimal configuration.
Using the Heroku CLI
- Create a new Heroku app.Terminal
heroku create myapp - Configure Heroku to use the nodejs buildpack.Terminal
heroku buildpacks:set heroku/nodejs - Configure your app.Terminal
heroku config:set SERVER_PRESET=heroku - Ensure you have
startandbuildcommands in yourpackage.jsonfile.package.json{ "scripts": { "build": "nuxt build", "start": "node .output/server/index.mjs" } }