Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.