Example Website (Thumper)
Installation
To install project dependencies, in your terminal run npm install.
Development Mode
To run a localhost site with browser auto-refreshing, in your terminal run: npm run dev.
Production Build & Deploy
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