Ulrich-Matthias Schäfer
Ulrich-Matthias Schäfer
with `SVG = require('svg.js')` it will most likely work because you put it in the global namespace. What about `window.SVG = SVG` in your case?
This package does not have a svg.js v3 compatible version yet. Therefore it is also not available under the `@svgdotjs` namespace and does not support esm imports
havent looked into all of this in a long time. I am stuffed with work -.-, will try to sort it out but i cant promise anything
@adaliszk this should be fixed now. In my tests there were no problems with imports
Give me a codepen or jsfiddle which shows the issue
Yes, the dependencies clearly state svg.js 2.x as dependency and not 3. However we are working on it...
svg.select.js and svg.resize.js are now available under the https://github.com/svgdotjs namespace. You can install them with `npm i @svgdotjs/svg.select.js @svgdotjs/svg.resize.js`
How would that work? A group gets its dimensions from its children. You can't give a group a height or width. So you cant resize it. ~~Furtermore only basic shapes...
I say it again only for you: **groups are _not_ resizeable**. They have no width neither they have a height. They haven't even x and y attributes. So don't even...
My bad. I should just stop to write in such a harsh way. Sorry. I found out that even with nested svgs it doenst work (never actually tested it). The...