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

How to use expr-eval in an ES6 component on the browser #235

Open
DragonOsman opened this issue Sep 20, 2020 · 1 comment
Open

How to use expr-eval in an ES6 component on the browser #235

DragonOsman opened this issue Sep 20, 2020 · 1 comment

Comments

@DragonOsman
Copy link

I'm trying to develop my project using expr-eval locally and have put it into a GitHub repository as well. I'm getting an error saying that exprEval is undefined.

I tried importing and using it like this:

import exprEval from "expr-eval";
...
const parser = new exprEval.Parser();

But I'm getting an error saying it's undefined.

@DragonOsman
Copy link
Author

I'm not getting the error anymore.

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

No branches or pull requests

1 participant