https://github.com/lukestorry/simplest-starter
A very simple starter template for small preact.js apps, no build step required.
https://github.com/lukestorry/simplest-starter
Last synced: 6 days ago
JSON representation
A very simple starter template for small preact.js apps, no build step required.
- Host: GitHub
- URL: https://github.com/lukestorry/simplest-starter
- Owner: LukeStorry
- Created: 2020-04-01T11:11:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T13:43:43.000Z (about 6 years ago)
- Last Synced: 2025-03-05T11:18:38.386Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://lukestorry.github.io/simplest-starter/
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simplest-starter
A very simple starter for small js apps, no build step required.
- [preact](https://preactjs.com/) for state & event handling
- [htm](https://www.npmjs.com/package/htm) for jsx-like syntax
---
## Usage
1. Hit "Use this template" above, or just fork/clone this repo.
2. Edit the Preact code in `index.js`.
3. Serve the static files somewhere. (Github Pages picks them up nicely by default - see [demo](https://lukestorry.github.io/simplest-starter))
If Netlify is your JAM, hit this to one-click fork & deploy:
[](https://app.netlify.com/start/deploy?repository=https://github.com/lukestorry/simplest-starter)
---
### Development tips:
- `npx servor --browse --reload` will launch a hot-reloading local [servor](https://github.com/lukejacksonn/servor).
- VSCode has nice auto-formatting.
---
Inspired by [this](https://formidable.com/blog/2019/no-build-step/) article.