Great post! I'm actually working on Dhow right now, a Node.js SSG that lets you write JSX syntax (similar to next.js with getProps & getPaths functions) but generates pure HTML. It's currently a work in progress but I would love to hear what you think!
Getting started is very simple. You can use the create-dhow-app npm package to quickly bootstrap a project based on a template.
npx create-dhow-app my-app # Optionally specify a template like this: `--template blog`# For older versions of npm
npm i -g create-dhow-app
create-dhow-app my-app
The default template will show you the basic structure of a Dhow app but using something like the blog template will show you everything Dhow can offer.
Create a project from scratch
If you would like you can also create a project from scratch without using create-dhow-app. Let's walk through it.
# make a directory for your project
mkdir my-app
# change your directorycd
Great post! I'm actually working on Dhow right now, a Node.js SSG that lets you write JSX syntax (similar to next.js with
getProps
&getPaths
functions) but generates pure HTML. It's currently a work in progress but I would love to hear what you think!kartiknair / dhow
JSX-powered static site generator for Node.js
Dhow
JSX-powered SSG for Node.js. Write logic like React with a directory-structure like Next.js but generate plain HTML with no client side JS.
Getting Started
Getting started is very simple. You can use the create-dhow-app npm package to quickly bootstrap a project based on a template.
The default template will show you the basic structure of a Dhow app but using something like the blog template will show you everything Dhow can offer.
Create a project from scratch
If you would like you can also create a project from scratch without using
create-dhow-app
. Let's walk through it.