Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crisward/preact-coffee
Starter template for preact coffee webpack
https://github.com/crisward/preact-coffee
coffeescript coffeescript2 preact starter-template
Last synced: 7 days ago
JSON representation
Starter template for preact coffee webpack
- Host: GitHub
- URL: https://github.com/crisward/preact-coffee
- Owner: crisward
- Created: 2016-06-21T17:27:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T22:31:16.000Z (about 2 years ago)
- Last Synced: 2024-04-17T04:01:51.756Z (10 months ago)
- Topics: coffeescript, coffeescript2, preact, starter-template
- Language: CoffeeScript
- Homepage:
- Size: 1.02 MB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Preact Coffee
A quick starter template for Preact using CJSX, coffee-script with JSX.
This project is setup to use preact compat, so all the files look like we're using react.## Why?
I like coffeescript, React, and small build files.
Find our more about preact [here](https://preactjs.com)## How to use
```
git clone https://github.com/crisward/preact-coffee.git
cd preact-coffee
npm install
npm run watch
open index.html
```## Npm Scripts
```bash
npm run watch # watch coffee & cjsx files and rebuild on change
npm run build # build and minify js file
```## Recent Updates
Uses latest version of Preact, so hooks, fragment etc are available.