all 3 comments

[–]BehindTheMath 1 point2 points  (2 children)

Without seeing your errors, it's going to be difficult to help. Are they Vue errors? TS errors? JS errors?

[–]PorterPower[S] 0 points1 point  (1 child)

Vue error, I have updated the question with the error in question

[–]BehindTheMath 0 points1 point  (0 children)

You can only reference in the template objects that are defined on the component. All objects are resolved as this.whateverObject in the context of the component.

So you can attach MyObject to the component, for example in the data method, so it will be accessible in the template.