https://github.com/aziis98/preact-timer
A localStorage-timer made with Preact with developit/htm
https://github.com/aziis98/preact-timer
css htm html js preact timer
Last synced: 2 months ago
JSON representation
A localStorage-timer made with Preact with developit/htm
- Host: GitHub
- URL: https://github.com/aziis98/preact-timer
- Owner: aziis98
- Created: 2020-10-22T18:34:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-01T19:21:55.000Z (over 5 years ago)
- Last Synced: 2025-07-01T05:02:21.931Z (12 months ago)
- Topics: css, htm, html, js, preact, timer
- Homepage: https://timer.aziis98.vercel.app
- Size: 92.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Preact Timer App
A simple app made to test Preact without a build step. Everything is saved to `localStorage`.

This is also aviable at (yep also testing Vercel)
## Description
This uses with by the import
```js
import { html, Component, render } from 'https://unpkg.com/htm/preact/standalone.module.js'
```
All code is in [dist/main.js](dist/main.js) and the styles are in [dist/style.css](dist/style.css).
## Usage
```bash
# Installs live-server (only dependency)
npm install
# Starts a hot reload server in the dist folder
npm run serve
```