This package has been deprecated

Author message:

No further development

hapi-preact-views

1.1.0 • Public • Published

Hapi-preact-views

npm version Build Status Build status codecov Standard - JavaScript Style Guide Greenkeeper badge

hapi-preact-views: Preact as view-engine in hapi.js

Examples

See examples

Options

  • layout - preact-component for a global layout
  • cache - require-cache for layout + view (default: true)
  • beforeRender - function, that should be called before rendering the views (useful for css-in-modules)

Contributing

  1. Fork it
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create new Pull Request

LICENSE

Copyright (c) 2017 Chris Helgert. See License for details.

Dependencies (2)

Dev Dependencies (11)

Package Sidebar

Install

npm i hapi-preact-views

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • chrishelgert