shrpne / vue-inline-svg

Dynamically loads an SVG source and inline <svg> element so you can manipulate the style of it
MIT License
175 stars 21 forks source link

Uncaught (in promise) TypeError: createElement is not a function #62

Closed asivaneswaran closed 1 month ago

asivaneswaran commented 1 month ago

vue-inline-svg.js?v=d36e4266:20 Uncaught (in promise) TypeError: createElement is not a function at Proxy.render (vue-inline-svg.js?v=d36e4266:20:12) at renderComponentRoot (chunk-437YCXS7.js?v=d36e4266:2350:17) at ReactiveEffect.componentUpdateFn [as fn] (chunk-437YCXS7.js?v=d36e4266:7544:26) at ReactiveEffect.run (chunk-437YCXS7.js?v=d36e4266:435:19) at instance.update (chunk-437YCXS7.js?v=d36e4266:7597:17) at callWithErrorHandling (chunk-437YCXS7.js?v=d36e4266:1659:33) at flushJobs (chunk-437YCXS7.js?v=d36e4266:1873:9)

I have this version `"vue-inline-svg": "^3.1.2",`
shrpne commented 1 month ago

Probably you are using it with vue 2, you should use vue-inline-svg at version 2 too