Closed ghost closed 9 years ago
You're using the engine incorrectly. Whatever template reply.view
is called on must export
a React
class.
https://github.com/roelof1967/hapi_ecommerce/blob/master/templates/about_us.jsx is html
.
See: https://github.com/landau/hapi-react/blob/master/fixtures/hi.jsx
changed it as you said but still the same error.
Hard to say what the problem is without seeing code. I've used this in production code used in the same fashion as your hapi server
I will give you the code again. The code can be found here : https://github.com/roelof1967/hapi_ecommerce
Hmm. I don't see any view code at all now.
Hello,
Im trying to follow this tutorial : http://facebook.github.io/react/docs/tutorial.html But when I run it , I see this error message :
My code can be found here : https://github.com/roelof1967/hapi_ecommerce