When reading about alpinejs it seems like it is smaller than Vue, but it seems not to be. Then was is "at a lower cost" refering to?
Isn't the latest version of Vue JS about 90kB?
https://github.com/vuejs/vue/blob/v2.6.11/dist/vue.min.js
To be fair, this should not be really the selling point anyway. It's more about being more simple imo. Vue is still a great tool and it's more appropriate for other use cases (E.g. an SPA).
Yep, Alpine is more of a "simple declarative rendering & reactive data/event binding library with no build step required" but that's a mouthful.
I hope a lot of people who are using Alpine are going to have gzip compression enabled on their servers too which brings the size down dramatically of course.
https://twitter.com/carlmjohnson/status/1069968685606031360
All those JS libraries bragging about how light they are when gzipped is like me bragging about how light I am on the Moon.
@jenstornell Do you have a reference you can post showing that vue is 58 kB? I had a look but I couldn't find that figure anywhere. Thanks
In any event, Alpine is 22.8KB (7.5KB gzip) on the CDN, so the 65.7KB number doesn't really reflect reality.
I think this should just be closed. It's not actionable and it doesn't appear to be factual either. 馃槅
@SimoTod Alright, I admit that I Google it. I shouldn't have done that, sorry.

Even if you have me thumbs down, I've got some great answers. I like what Alpine is ment to solve, so I'll probably try it out.
I'll close it. Thanks everyone!
@jenstornell no worries, I did not thumb you down. 馃ぃ I was just puzzled by the figures.
I think you got confused because you compared the not minified version of Alpine with an old stat from google (probably minified).
Glad you got your answers though. 馃憤
@jenstornell becareful, you might fall in love to Alpine at first sight. Hopefully we will see you coming up with some bugs with Alpine and would love to take a look at them. 馃馃榿
Most helpful comment
https://twitter.com/carlmjohnson/status/1069968685606031360