Deploying to Netlify
Netlify is a hosting provider that specializes in static hosting and relevant supporting services to provide a fully interactive site that uses static hosting. This includes offerings such as Netlify Functions (serverless functions), Netlify Forms (a no-backend form submission system), and Netlify Identity (an identity/authentication provider).
The following sections require you to have a free Netlify account (you can sign up for one at https://app.netlify.com/signup).
The simplest way to deploy a site to Netlify is to use the drag-and-drop interface. You’ll find this at the bottom of the Sites page in the logged-in view, as follows:
Figure 13.18 – Netlify’s drag-and-drop deployment section at the bottom of the App home page
Now, we can choose a project where we’ve run the npm run build
command and deploy the dist
folder by simply dragging it to the drag-and-drop deployment section, as shown in the...