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
for a specific application I cannot use NPM or YART to install the svg.filter.js plugin.
I tried to import into my script file like the following:
<script src="../factorynex/distr/svg/svg.min.js"></script> <script src="../factorynex/distr/svg/svg.filter.js"></script>
but something went wrong because the browser console replied to me the following:
Uncaught SyntaxError: Cannot use import statement outside a module (at svg.filter.js:1:1)
the issue rised up here into the svg.filter.js:
import { Array as SVGArray, Container, Defs, Element, extend, find, namespaces as ns, nodeOrNew, utils, wrapWithAttrCheck } from '@svgdotjs/svg.js'
could someone help me on solve this issue?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
for a specific application I cannot use NPM or YART to install the svg.filter.js plugin.
I tried to import into my script file like the following:
<script src="../factorynex/distr/svg/svg.min.js"></script> <script src="../factorynex/distr/svg/svg.filter.js"></script>
but something went wrong because the browser console replied to me the following:
Uncaught SyntaxError: Cannot use import statement outside a module (at svg.filter.js:1:1)
the issue rised up here into the svg.filter.js:
import { Array as SVGArray, Container, Defs, Element, extend, find, namespaces as ns, nodeOrNew, utils, wrapWithAttrCheck } from '@svgdotjs/svg.js'
could someone help me on solve this issue?
Thanks
The text was updated successfully, but these errors were encountered: