Skip to content

A skeleton to create a buildless PWA with Preact, Signal and HTM

License

Notifications You must be signed in to change notification settings

badpenguin/buildless-pwa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

It is possibile to create builless preact web application with the right libraries.

Here you will find a skeleton of a working application that already includes:

It all started when I was reading this: https://preactjs.com/guide/v10/getting-started/#no-build-tools-route

So I discovered this project: https://github.com/mujahidfa/preact-htm-signals-standalone

Then I created a complete PWA with those tools!

Of course here you will find a simple skeleton to make you familiar with those libraries.

The crucial stuff is the "importmap" in index.html. Here you can also specify remote repositories if you wish.

As examples I've included:

  • a simple splash-screen example;
  • a classical up/down counter;
  • a simple router example.

Have fun, Antonio

About

A skeleton to create a buildless PWA with Preact, Signal and HTM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published