11ty / eleventy-plugin-vue

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

Find in includesDir, when not placed in inputDir #8

Closed igk1972 closed 3 years ago

igk1972 commented 4 years ago

When ‘includes' dir not child of ‘input' dir, then not merging css rules from vue components.

Config like this:

dir: {
  input: 'src/pages',
  output: 'dist',
  data: '../data',
  includes: '../components',
  layouts: '../layouts',
 },

This PR resolve problem - all css rules (in components) merge to html output. Simple add finding files in 'includes' dir.

zachleat commented 3 years ago

Related to #26

zachleat commented 3 years ago

Thanks!