Skip to content Skip to sidebar Skip to footer

Dynamical Appended Vuejs Content: Scope.test Is Not A Function

I am trying to find a workable solution for following scenario: vuejs will render its 'main' content first; when some click happen, it loads some vuejs aware html(including both c

Solution 1:

If you debug your application you will find that the method test is not present in the options. This is because is a method of the 'father'.

You should add the method test directly in the methods:{} of the dynamicloaded

http://jsfiddle.net/L25oqe5n/

Post a Comment for "Dynamical Appended Vuejs Content: Scope.test Is Not A Function"