pwa
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Add a pwa manifest to an http val (to open in as an app in iOS).
See https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps for available fields.
import handler from "https://esm.town/v/maxm/staticChess";
import { pwa } from "https://esm.town/v/pomdtr/pwa";
export default pwa(handler, {
name: "Static Chess",
display: "standalone",
background_color: "#ffffff",
start_url: "/",
});