Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct path reference to react-templates API #1

Closed
wants to merge 1 commit into from
Closed

Correct path reference to react-templates API #1

wants to merge 1 commit into from

Conversation

cmaher
Copy link

@cmaher cmaher commented Jan 18, 2015

react-templates has a 'main' reference of src/cli.js, which doesn't
help with programmatic access to react-templates. Change the reference
to src/reactTemplates, which has the desired exports.

Without this, the plugin fails with the error TypeError: Object #<Object> has no method 'convertTemplateToReact'

`react-templates` has a 'main' reference of `src/cli.js`, which doesn't
help with programmatic access to react-templates. Change the reference
to `src/reactTemplates`, which has the desired exports.
@idok
Copy link
Contributor

idok commented Jan 19, 2015

Hi,
I've exposed that API in [email protected] which I have just released.
Sorry for the confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants