You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @dan003400, I had the same issue. Looks like the NPM package is out of date. Replacing "svg.path.js": "^0.6.2" with "svg.path.js": "git+https://github.com/otm/svg.path.js.git" in my package.json fixed this for me.
How do you get this to work with ES6 imports?
import SVG from 'svg.js' import 'svg.path.js/svg.path.min.js'
This will throw an error:
TypeError: this.clear(...).attr is not a function
The text was updated successfully, but these errors were encountered: