AlexandreBonaventure/vue-zdog

Zdog[shapeName] is not a constructor

gary149 opened this issue · 1 comments

Thanks Alexandre for this, declarative ZDog is awesome :)
Some shapes dont work, for example for ZPath or ZBox this error pops:

[Vue warn]: Error in created hook (Promise/async): "TypeError: Zdog[shapeName] is not a constructor"

You can reproduce here: https://codesandbox.io/s/vue-template-vjc7w
Some other shapes like ZCone seems to render the wrong shape.
Also the peer dependency vue-runtimes-helpers seems required.

Also the peer dependency vue-runtimes-helpers seems required.
This is now fixed in 0.1.0.

Thanks!

As for Zdog[shapeName] error it is fixed via #3 in 0.1.1. You'll have to use ZShape instead of ZPath