Gridsome x Forestry
A starter-kit by Nichlas W. Andersen
Development
# install Gridsome globally
npm install --global @gridsome/cli
# cd into the project directory
cd gridsome-forestry-starter
# install dependencies
npm install
# Start local dev server
npm run develop
Forestry (Content Management)
This project has been pre-configured to work with Forestry, just import your repository
Any changes you make will be commited back to the repo, and deployed if you're using Netlify.
Deploy with Netlify
Import your site in Netlify
- Create a new site in Netlify and import your repository.
- Set the build command to:
gridsome build
- Set the publish directory to:
dist
That's it, now your site gets deployed automatically on git push
or when saving documents from Forestry.