pimterry / server-components

:wrench: A simple, lightweight tool for composable HTML rendering in Node.js, based on web components.
https://pimterry.github.io/server-components
MIT License
216 stars 12 forks source link

Make example code from README runnable, with TonicDev or similar #17

Open pimterry opened 8 years ago

pimterry commented 8 years ago

Doesn't work in default TonicDev, but works perfectly if you switch Node version to v5.

tolmasky commented 8 years ago

The way we choose the node version in tonic is the engines property in your package json (https://docs.npmjs.com/files/package.json).

pimterry commented 8 years ago

Ah, of course. Yes, that's perfect, seems to work great by default now. Thanks!