Updating examples to add rquire to view engine configuration. Fixes #1741