How to access AlpineJS Data variable outside scope
Okay let me confess, I was big fan of Jquery before I started using AlpineJS!. Alpine is so easy and seamless that I fell in love with it instantly. One more thing that you might wanted to consider is it’s size. Alpine is very small in comparison of Jquery, Vue, Angular etc. Alpine was previously called Tailwind of JS. If you don’t know about Tailwind, Man you should read it. If you wanted to learn about AlpineJS basics and other concepts Example problem Let’s take an exmaple to understand the things of alpine....