alpinejs-course
alpinejs-course copied to clipboard
alpine.data multiple different object
HI @thecodeholic
I saw your course, very good, and at the same time I have a question not sure whether you encountered before. That is when I need to use alpine.data for more than one object, like dropdown here, you declared one object, if I need to declare dropdown1, dropdown2, drawer, bookstore these objects, how to do?
I saw all cases they are just register one object, not sure how to do.
Thanks Eric Xin