Vue.js Question | Sololearn: Learn to code for FREE!


Vue.js Question

Hello! So I have a view "Home". I have these lines: export default { return { tasks: [] } } How would I later in the script access this tasks array? I am using firebase, and I want to set it when I read data. However, using this.tasks gives me the error: "this is null". I am so confused. Can anyone help?

8/25/2019 9:59:26 AM

Paul Grasser

0 Answers

New Answer