The Grind Web Template is an example project for building multipage websites on Grind. It’s also used as the default template in Grind Toolkit so you can quickly setup a new web project.
git clone https://github.com/grindjs/example-web.git grind-example-web
cd grind-example-web
yarn install
# Use `watch` to automatically restart the server on file changes
# Watch is recommended for development
yarn cli watch
# Use `serve --cluster` to launch a cluster of workers
# Cluster is recommended for production
yarn cli serve --cluster
# Use `serve` to launch a single worker
yarn cli serve
You should now be able to visit localhost:3100.
Full documentation for Grind is available on the Grind website.
Grind was created by Shaun Harrison and is made available under the MIT license.