felt-recipe-preact
v0.0.0
Published
A recipe for Felt with Preact
Downloads
3
Readme
felt-recipe-preact
A recipe for Felt with Preact.
Usage via CLI
$ npm install -g felt felt-recipe-preact
$ felt --recipe preact --src public
Usage via Express
$ npm install felt felt-recipe-preact
'use strict'
const
express = require('express'),
felt = require('felt'),
recipe = require('felt-recipe-preact')
const
app = express(),
flavor = { src: 'public' }
app.use(felt(recipe, flavor))
app.use(express.static('public'))
app.listen(3000)