This content originally appeared on CSS-Tricks and was authored by Chris Coyier
Dave:
petite-vue
is a new cut of the Vue project specifically built with progressive enhancement in mind. At 5kb,petite-vue
is a lightweight Alpine (or jQuery) alternative that can be “sprinkled” over your project requiring no extra bundling steps or build processes. Add a<script>
tag, set av-scope
, and you’re off to the races. This is up my alley.
Lots of us are still fond of jQuery, but didn’t like how fragile things could be, entirely separating interactive features and the HTML. “Separation of concerns” felt right at the time, but was ultimately too dogmatic. Authoring languages like JSX felt wrong at first, and now feel rather right, and a lot of JavaScript templating has fell in line. But heavy frameworks tend to be involved. Framework-free approaches began to show up, like Alpine.js, which allow us to sprinkle in interactive technology right into the HTML. Vue has always been sprinkable, to a degree, but now much moreso with petite-vue.
Direct Link to Article — Permalink
The post My petite-vue review appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
This content originally appeared on CSS-Tricks and was authored by Chris Coyier

Chris Coyier | Sciencx (2021-07-23T15:10:08+00:00) My petite-vue review. Retrieved from https://www.scien.cx/2021/07/23/my-petite-vue-review-2/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.