We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I'm writing a local package with meteor-react-layout and i'm getting the error that React is not defined. Here's my package.js:
// ... Package.onUse(function(api) { api.versionsFrom('1.2.1'); api.use('ecmascript'); api.use('react'); api.use('kadira:flow-router'); api.use('kadira:react-layout'); api.use('meteorflux:dispatcher'); api.use('meteorflux:appstate'); api.use('fourseven:scss'); api.use('meta:susy'); api.use('accounts-password'); api.addFiles([ 'client/login_layout.jsx', 'client/layout_store.js', 'client/routes.js' ], 'client'); });
The text was updated successfully, but these errors were encountered:
Can I see the stack trace of the error or a sample app?
Sorry, something went wrong.
sure. here's the stack trace:
(anonymous function) @ kadira_react-layout.js:49 fire @ jquery.js:3151 self.fireWith @ jquery.js:3263 jQuery.extend.ready @ jquery.js:3475 completed @ jquery.js:3506
And here's a sample app: http://p.jreinert.com/GXvrUc/
Seems like you are using a older version of react-layout. Always mention the version number.
like api.use('kadira:react-layout@1.5.0');
api.use('kadira:react-layout@1.5.0');
Do it for all the non-meteor packages.
No branches or pull requests
Hello, I'm writing a local package with meteor-react-layout and i'm getting the error that React is not defined.
Here's my package.js:
The text was updated successfully, but these errors were encountered: