thednp / kute.js

KUTE.js is a JavaScript animation engine for modern browsers.

Home Page:http://thednp.github.io/kute.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

import kute-svg empty

nicoladl opened this issue · comments

Hi guys, I'm developing a Vue.JS website and I'm interested to use Kute-svg to morph some svg.
I've installed Kute via npm but when I try to import kute-svg the object is empty.

import KUTE from 'kute.js

return the full object

schermata 2018-03-21 alle 13 57 38

import KUTE from 'kute.js/kute-svg

return an empty object

schermata 2018-03-21 alle 13 58 26

Thank you

I don't actually know how to fix this. I will leave this open maybe someone has any idea.

@nicoladl I don't actually use this functionality but at least I can say that plugins only fill KUTE main object with additional functionality.

If you have a look at the getting started documentation page, I would guess you need to request plugins via import 'kute.js/kute-svg' from 'kute.js', at least according to the contributors from the community who helped me write that part of documentation.

Try and let me know how it goes.