To install project dependencies, in your terminal run npm install
.
To run a localhost site with browser auto-refreshing, in your terminal run: npm run dev
.
When you're ready to deploy your site for production, in your terminal run: npm run build
. This will output all of your static files into a /dist
folder. For Netlify deploys, go to "Settings > Build & Deploy", and enter...
- Repository: Choose your project repository from GitHub
- Build Command:
npm run build
- Publish Directory:
dist