11ty / eleventy-plugin-vue

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

Vue component incremental builds (stage 1) #13

Closed zachleat closed 3 years ago

zachleat commented 3 years ago

Vue has a separate from Eleventy compilation pipeline using Rollup.

  1. On first run Eleventy Vue should build all the components.
  2. On second run Eleventy Vue should only build the components that have changed (in Rollup).

If it’s a Vue component (not a full Vue template), it builds all of the Vue files (see #15 for next steps). If you modify a Vue template file, it only builds that template file.

Related: #14 #15