How do you access global properties of functional components?
If you need to access properties defined globally on Vue.prototype
then you can access them on parent:
1 2 3 | <template functional> <div>{{ parent.$someProperty }}</div> </template> |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.