1.1.0 • Published 7 years ago

hapi-preact-views v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

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.

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago