3.3.3 • Published 5 years ago

@motorjs/plugin-server v3.3.3

Weekly downloads
1
License
-
Repository
github
Last release
5 years ago

Motor plugin-server

On demand rendering server based on hapi.js

Installation

using yarn

yarn add @motorjs/plugin-server

using npm

npm i -S @motorjs/plugin-server

Usage

const motor = require('@motorjs/engine')
const Server = require('@motorjs/plugin-server')

const motorConfig = {
  templatesDir : path.resolve('templates'),
  outputDir : path.resolve('output'),
  viewsDir : path.resolve('views'),

  plugins: [
     new Server({
      webhook: '/webhook', // in case you want the webhook to update the structure
    })
  ]
}

motor(motorConfig)
3.3.3

5 years ago

3.3.2

5 years ago

3.3.1

5 years ago

3.3.0

5 years ago

3.2.4

6 years ago

3.2.3

6 years ago

3.2.1

6 years ago

3.2.0

6 years ago

3.1.0

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago