1.0.0 • Published 9 years ago
ghost-as-middleware v1.0.0
Ghost as Middleware
Installation
$ npm install ghost-as-middleware
Usage
var app = require( 'express' )()
var ghost = require( 'ghost-as-middleware' )
app.get( '/', function( req, res ){
res.send( 'this is my app!' )
})
app.use( '/blog', ghost() )
app.listen( 8888 )
Note
You'll need to adjust the settings for the css and js paths to be correct
1.0.0
9 years ago