expr-eval icon indicating copy to clipboard operation
expr-eval copied to clipboard

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

Open DragonOsman opened this issue 5 years ago • 1 comments

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 avatar Sep 20 '20 18:09 DragonOsman

I'm not getting the error anymore.

DragonOsman avatar Sep 20 '20 19:09 DragonOsman