Deploy Nuxt on Kinsta Application Hosting
How to deploy Nuxt on Kinsta Application Hosting?
Kinsta Application Hosting is a service that lets you build and deploy your web apps directly from your Git repository.
SSR - configuration
Kinsta Application Hosting is using Buildpacks to determine what is needed to build and deploy the application.
Whenever a deployment is initiated the npm build command is run, followed by the npm start command.
This means, that your package.json should look like this:
{
  "name": "my-app",
  "scripts": {
    "dev": "nuxt",
    "build": "nuxt build",
    "generate": "nuxt generate",
    "start": "nuxt start"
  },
  "dependencies": {
    "nuxt": "^3.0.0"
  }
}
There is also a Starter , if you want to give it a spin.
SSG - configuration
Kinsta Application Hosting is using Buildpacks to determine what is needed to build and deploy the application.
Whenever a deployment is initiated the npm build command is run, followed by the npm start command.
First, we have to install the serve  package and prepare the package.json like this:
{
  "name": "my-app",
  "scripts": {
    "build": "nuxt generate",
    "start": "serve ./.output/public"
  },
  "dependencies": {
    "nuxt": "^3.0.0",
    "serve": "^14.1.2"
  }
}
Deployment
Once your project's GitHub repository is connected, you can trigger manual deploys to Kinsta Application Hosting in the MyKinsta Admin Panel. You can also set up automatic deployments in your admin panel.
Configuring a new Kinsta application
- Register on Kinsta Application Hosting or login directly to My Kinsta admin panel.
- Go to the Applications tab.
- Connect your GitHub repository.
- Press the Add service > Application button.
- Follow the wizard steps.
- Your application is deployed.
 Sébastien Chopin
 
        Sébastien Chopin
        川音리오
 
        川音리오
        Maciek Palmowski
 
        Maciek Palmowski
        Nestor Vera
 
        Nestor Vera
        Daniel Roe
 
        Daniel Roe
        Yue Yang
 
        Yue Yang
        Jeronimas
 
        Jeronimas
        Clément Ollivier
 
        Clément Ollivier
        Alexander Lichter
 
        Alexander Lichter
        N3-rd
 
        N3-rd
        Adrien Zaganelli
 
        Adrien Zaganelli
        Mag
 
        Mag
        Stefan Huber
 
        Stefan Huber
        Olga Bulat
 
        Olga Bulat
        Paiva
 
        Paiva
        Florian Reuschel
 
        Florian Reuschel
        Rishi Raj Jain
 
        Rishi Raj Jain
        Savas Vedova
 
        Savas Vedova
        Steven Soekha
 
        Steven Soekha
        Vinícius Alves
 
        Vinícius Alves
        Kareem Dabbeet
 
        Kareem Dabbeet
        Valentín Costa
 
        Valentín Costa
        Ryan Skinner
 
        Ryan Skinner
        Alex Hirzel
 
        Alex Hirzel
        Ajeet Chaulagain
 
        Ajeet Chaulagain
        René Eschke
 
        René Eschke
        Nico Devs
 
        Nico Devs
        Muhammad Bin Shehzad
 
        Muhammad Bin Shehzad
        Nazaré da Piedade
 
        Nazaré da Piedade
        Naoki Hamada
 
        Naoki Hamada
        Tom
 
        Tom
        Yann Aufray
 
        Yann Aufray
        Anthony Chu
 
        Anthony Chu
        Nuzhat Minhaz
 
        Nuzhat Minhaz
        Lucas Portet
 
        Lucas Portet
        Richard Schloss
 
        Richard Schloss
        Bobby
 
        Bobby
        bpy
 
        bpy
        Antony Konstantinidis
 
        Antony Konstantinidis
        Hibariya
 
        Hibariya
        Jose Seabra
 
        Jose Seabra
        Eze
 
        Eze
        Florian Lefebvre
 
        Florian Lefebvre
        Lucas Recoaro
 
        Lucas Recoaro
        Julien SEIXAS
 
        Julien SEIXAS
        Sylvain Marroufin
 
        Sylvain Marroufin
        Spencer Cooley
 
        Spencer Cooley
        Piotr Zatorski
 
        Piotr Zatorski
        Vladimir Semyonov
 
        Vladimir Semyonov
        Harry Allen
 
        Harry Allen
        kazuya kawaguchi
 
        kazuya kawaguchi