Skip to content

barelyhuman/fastify-preact-verbose-islands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published