11ty / eleventy-plugin-vue

Use Vue.js templates and Vue.js single file components in Eleventy.
195 stars 11 forks source link

petite-vue #34

Open wommy opened 3 years ago

wommy commented 3 years ago

petite-vue

do these do different things? what is their interaction / synergy

ive only lightly tested 11ty-vue, so pardon my ignorance couldnt find a discussion so i thought id start it

solution-loisir commented 2 years ago

Hi @wommy, petite-vue is designed to progressively enhance sections of a page which becomes interactive with client side JavaScript. The eleventy-plugin-vue uses Vue's single file components to render on the server at build time. What you'd get is completely static, no client js. As for the interaction between the two, I guess it would be possible to use both: eleventy-plugin-vue for static content and petite-vue for interactivity.