Posts with vuejs Tag

Vuejs - data: or data()?

Do you get an undefined value when printing the data from a component? Spent a few hours debugging this on a codepen I’m working on for my portfolio. As I’m passing an array to a child component I was outputting an undefined array for the child’s pro...

Read more