Skip to content

crisward/preact-coffee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

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.

About

Starter template for preact coffee webpack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published