The created
is fired before the template is processed.
You can find more details here: https://v2.vuejs.org/v2/guide/instance.html#Lifecycle-Diagram
You should be able to access the $refs on the mounted
event
mounted: function() {
console.log(this.$refs.icanvas);
},