felt-recipe-react
v0.2.1
Published
A recipe for Felt with React
Downloads
6
Readme
felt-recipe-react
A recipe for Felt with React. This recipe is based on @yamafaktory's buble-react-rollup-starter.
Usage via CLI
$ npm install -g felt felt-recipe-react
$ felt --recipe react --src public
Usage via Express
$ npm install felt felt-recipe-react
'use strict'
const
express = require('express'),
felt = require('felt'),
recipe = require('felt-recipe-react')
const
app = express(),
flavor = { src: 'public' }
app.use(felt(recipe, flavor))
app.use(express.static('public'))
app.listen(3000)