- Node.js (12.20, 14.14.0, 16.0.0 or later) and NPM (8.0.0+)
# install dependencies
npm install
# run dev mode with hot reload
npm run dev
- Install the Netlify CLI.
- Create a new site using
netlify init
. - Deploy using
netlify deploy --build
.
# Install the Netlify CLI
$ npm install -g netlify-cli
# Create a new site in Netlify
$ netlify init
# Build & deploy to a unique preview URL (draft URL)
$ netlify deploy --build