bedrock icon indicating copy to clipboard operation
bedrock copied to clipboard

Any component prefixed with _ should be ignored in component list in styleguide

Open Wolfr opened this issue 5 years ago • 3 comments

Any component prefixed with _ should be ignored in component list in styleguide.

For example, if you make a component with _mixin.pug to then expose the mixin state to different sub components, the mixin itself should not be listed as a component.

Wolfr avatar Sep 13 '19 12:09 Wolfr

This feature could probably be released in the normal logic e.g. as Bedrock 1.20.0.

Wolfr avatar Dec 24 '19 12:12 Wolfr

To do: test if this already exists/was implemented.

Wolfr avatar Nov 05 '20 11:11 Wolfr

This doesn't work yet, if you try to add items with _ (folders and files) you get some errors, because some functions fail ( groupBy etc.).

Wolfr avatar Jan 21 '21 18:01 Wolfr