trailsjs / trailpack-hapi

:package: Hapi.js Trailpack
MIT License
19 stars 9 forks source link

PUG support #111

Closed imkarma closed 8 years ago

imkarma commented 8 years ago

add support PUG views engine

views: {
    engines: {
      pug: require('pug')
    },
    path: './templates'
  }

and call

index (request, reply) {
    reply.view('index',{})
  }