ghost-as-middleware

1.0.0 • Public • Published

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

/ghost-as-middleware/

    Package Sidebar

    Install

    npm i ghost-as-middleware

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Last publish

    Collaborators

    • joshwillik