Quick Start

Cook requires Node.js 18+. Install it as a dependency and start building.

Install

Create your first page

Build

Your site is now in dist/. Every HTML file in src/ becomes a page with a clean URL.

Development server

This builds and starts a live-reload server. Edit a file, save, and the browser refreshes automatically.

Add data

Create config/data.js to define template variables available on every page:

Use them in any HTML file with template string syntax:

Next steps