Deployment
Introduction
Deployment is the process of taking a project from development to production. It involves a number of steps, including:
- Building your application
- Deploying your application
- Running your application
Building your application
To build your application, run the following command:
bash
yarn build
This command will build your application and output it to the dist
directory.
Deploying your application
To deploy your application, you can use any static file hosting service. We recommend Netlify.
Running your application
To run your application, you can use any Node.js hosting service. We recommend Vercel.
Deploying to Netlify
To deploy your application to Netlify, follow these steps:
- Create a new site on Netlify
- Select the
dist
directory as the build directory - Select the
dist
directory as the publish directory - Click the
Deploy site
button
Deploying to Vercel
To deploy your application to Vercel, follow these steps:
- Create a new project on Vercel
- Select the
dist
directory as the root directory - Click the
Deploy
button