Advent Of Vue is a series of 24 Vue coding challenges that are sent out every day from December 1 to December 24 via a dedicated newsletter. If you'd like to receive more of these puzzles in the future, go ahead and sign up!
Time to make a tree!
You'll need to update the ChristmasTree
component so that it renders, well, a Christmas tree.
To get you started in the right direction — you'll need to use recursion to make this happen.
Open the hints.md file if you need some help!
This is what it should look like when you're done: Solution demo
Hey, it's Michael Thiessen here!
My full-time job is teaching about Vue, through articles, my weekly newsletter, and through my courses and books.
You can sign up to get weekly tips and tricks on Vue here: https://michaelnthiessen.com/newsletter
I'm on Twitter: https://twitter.com/MichaelThiessen
Here are my courses:
Based on a Stackblitz project by tony19