Petite-Vue – 5kb subset of Vue optimized for progressive enhancement

petite-vue is an alternative distribution of Vue optimized for progressive enhancement. It provides the same template syntax and reactivity mental model with standard Vue. However, it is specifically optimized for “sprinkling” small amount of interactions on an existing HTML page rendered by a server framework. See more details in how it differs from standard Vue.

Read in full here:

This thread was posted by one of our members via one of our news source trackers.

2 Likes

Corresponding tweet for this thread:

Share link for this tweet.

1 Like

So, as soon as I saw this I was thinking about it in place of AlpineJS for Phoenix LiveView, wondering if when one needed a more robust component they could then add in a grande-vue component and still be working with nearly the same syntax as petite-vue? Is there any sense to this thought?

(I’ll admit that secretly I dream of having it all: something like LiveView (or Drab, etc.) with a matching and integrated client-side framework.)

2 Likes

Think we might need a 2021 State of JS thread!

I’d also be interested in the pros and cons of it and Svelte / Alpine too…

2 Likes