11ty / eleventy-plugin-webc

Adds support for WebC *.webc files to Eleventy
https://www.11ty.dev/docs/languages/webc/
120 stars 10 forks source link

Default glob behavior of WebC could hinder people while reading the docs #21

Closed cfjedimaster closed 2 years ago

cfjedimaster commented 2 years ago

I was reading the docs, https://www.11ty.dev/docs/languages/webc/, and going from top to bottom, I was at the section of writing my first simple HTML only component, https://www.11ty.dev/docs/languages/webc/#html-only-components. It doesn't work. The reason it doesn't work is because by default, the plugin doesnt glob for webc files. I really think the docs should make this clear as this part of the doc may be the first thing people actually try.

zachleat commented 2 years ago

Gonna move this over to https://github.com/11ty/eleventy-plugin-webc/issues/14

I think it’s worthwhile to add a default here—thanks!