Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

views property in version 9 #148

Closed
monkeytroy opened this issue Aug 24, 2015 · 3 comments
Closed

views property in version 9 #148

monkeytroy opened this issue Aug 24, 2015 · 3 comments
Assignees
Labels

Comments

@monkeytroy
Copy link

In the version 8 api docs there was a property 'server.views' listed. It is also show in the tutorials indicating how to configure a view engine and various paths. According to the api docs 'Initializes the server views manager'.

In version 9 the views property is gone but still in the online tutorials.

Im sure I'm just missing it but what is the version 9 way to setup a view engine and specify other view options like paths?

@mtharrison
Copy link

The views tutorial has been updated now for hapi 9. Check it out here: http://hapijs.com/tutorials/views

@nlf
Copy link

nlf commented Aug 24, 2015

the vision plugin was removed from hapi core in version 9.0.0, you can load it separately however. see https://github.com/hapijs/vision for the plugin and hapijs/hapi#2682 for the release notes.

also the link posted above for an updated tutorial.

@nlf nlf added the question label Aug 24, 2015
@nlf nlf self-assigned this Aug 24, 2015
@monkeytroy
Copy link
Author

Ahh I see that in the tutorial now. Thank you.

@nlf nlf closed this as completed Aug 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants