Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.01 KB

readme.md

File metadata and controls

56 lines (37 loc) · 1.01 KB

fastify + preact + islands

Minimal Client Side JS using existing tools and libraries.

The idea is to provide you with a simple app structure that allows you to register and hydrate islands using fastify and preact without adding a lot of generative code magic using bundler plugins. This is both a base to start with for apps and a decent way to understand what goes into making sure the interactive bits are runnings on the client(browser).

Prerequisites

  • Node.js 20 or higher
  • pnpm

Usage

The repository is a reusable template that you can setup with the following steps

  1. Install deps
pnpm i
  1. Run Dev
pnpm dev
  1. Open http://localhost:3000 in your browser

  2. Run Build

pnpm build
  1. Run Built asset
node .output/index.js

Technologies

LICENSE

LICENSE