VuePress is a Vue-powered Static Site Generator; it’s Vue-Powered, and its key features include performance and a simplicity-first approach.
More information is available on the vuepress.github.io website.
Kinsta automatically installs dependencies defined in your
composer.json file during the deployment process.
Fork the following GitHub repository: https://github.com/kinsta/hello-world-vuepress
In MyKinsta, add an application with the
vuepressrepository. The Start command can be left blank for the web process as Kinsta automatically detects the required command during the first deployment.
The app is available as soon as the build finishes and loads a Hello World page.
Web Server Setup
Kinsta automatically sets the
PORT environment variable. You do not need to define it or hard-code it into the application. The
serve package utilizes the port set by Kinsta automatically.
When you deploy the application, Kinsta automatically creates a web process with
npm start as the entry point.
Whenever you initiate a deployment (through creating an application or re-deploying due to an incoming commit), the
npm build the command is run, followed by the
npm start command.