Closed jamiecollinson closed 9 years ago
You have to update the version of consolidate, you could install the latest version from git with npm install tj/consolidate.js
Hey thanks for this sorry for the delay. Now that https://github.com/superwolff has split out this plugin into two separate plugins—layouts and in-place—I'm going to deprecate the metalsmith-templates
plugin, so that we can use the simpler ones instead. I'm going to close this issue, but feel free to re-open there!
Added a deprecation notice to the readme.
As metalsmith-templates makes use of consolidate.js I thought it should work with react.js as that's officially supported:
https://www.npmjs.com/package/consolidate
However I can't get it to work, and get a TypeError on build:
Has anyone got this working? I know there are separate projects for react (https://github.com/coodoo/metalsmith-reactjs & https://github.com/yeojz/metalsmith-react-templates) but I've found both of them out of date with the latest versions of react (>0.13).