-
Notifications
You must be signed in to change notification settings - Fork 52
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
Is it work with svg.js 3.0 ? #50
Comments
Short answer: Yes, it's work.
Tested - it's work. I am working under localhost:3000 server organized through "browser-sync". Project should do the same - it's not web site, it's web face for PLC. That's why I need all from localhost. But anyway it's does not mater from what point it will work. Look on facts: full version not work. By the way, svg.path.js - work OK from localhost and full version. Why svg.filter.js is not? |
Its there: The file you include via script tag is a bundled (generated) file. There is no value in putting it into the source code because its not source. Therefore it is published as release AND published with npm. It is common among libraries to populate their distribution files in the folder "dist". So when you install this package via npm or yarn you will find the bundled files in the dist folder of the svg.filter.js package. svg.path.js is not maintained by me. It depends on a global variable
Feel free to improve. I am a single person maintaining more than 10 repos and a documentation. I have only so much spare time at my hand and cant possibly see everything. Thats why it is open source. Everyone can help |
Draw line, add first filter in example
IF Put it (svg.filter.js) in html after svg.js AS IS:
THEN
But get in console:
ELSIF AS IS (type="module" added):
THEN
"@svgdotjs/svg.js" installed through npm as:
"@svgdotjs/svg.filter.js" installed as:
The text was updated successfully, but these errors were encountered: