Oct 31, 2016
0
Level 3
Extending Spark home-view
How can I add data to the home-view on Spark?
I've made a public method called $tasks on the Team model which returns an array of tasks, related to the currentTeam.
How do I get this data into the home-view?
I tried adding the component "currentTeam" to the home-view in Vue. That didn't work, so I tried accessing it via user.tasks, which didn't work either.
What should I do?
Please or to participate in this conversation.