Skip to content

Importing into an angular project via npm / index.html #61

@AjayvirS

Description

@AjayvirS

Describe the bug

When I try to import tex2max using declare var tex2max: any; I get a ReferenceError: tex2max is not defined. But this doesn't occur with other packages. I have tried binding the scripts by installing the npm package and through the script tag in index.html

To Reproduce
Steps to reproduce the behavior:

  1. Install npm package using npm install tex2max --save-dev
  2. Try to import and use a tex2max object
  3. See error

Expected behavior
tex2max object should be created, I need the toMaxima() method specifically

Desktop (please complete the following information):

  • MacOS 10.14.6
  • Firefox 78.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions