Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Blueblau's avatar

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?

0 likes
0 replies

Please or to participate in this conversation.