Open GirlBossRush opened 9 years ago
Warning would be helpful, but I don't see why you need to put canvas
in data here. If you just omit it from the initial data Vue won't try to observe it.
Thanks for the tip. In the example above, not using canvas
in data is a great fix.
The Vue API documentation states,
Vue will attempt to setup getters and setters via
Object.defineProperty
without checking if the object in question is enumerable.Consider the following,
I would like to see the documentation clarified,
Vue providing feedback would be helpful too,
[Vue warn]: Failed to resolve component: audio-spectrum-visualizer, 'canvas' is not enumerable.
Thank you!