Structure of this project is based on starter blog
main-site
: Your static html/css websitesrc
: Gastby project files
Following commands will generate blog pages & merge files from main-site
folder into dist
folder
dist
folder you can deploy it to any hosting provider.
npm install
npm run build:preview
for netlify see the docs for details
- Build command :
npm run build:all
- Publish directory :
dist