patternlab-php-core icon indicating copy to clipboard operation
patternlab-php-core copied to clipboard

Move non-PL component files in _patterns to ./public

Open dmolsen opened this issue 9 years ago • 0 comments

When dealing with a pattern at level 3 move all files that don't match a pattern rule to ./public/patterns/[pattern-name]. If given the following example:

_patterns/
    atoms/
        general/
             button-1/
                 button-1.scss
                 button-1.mustache
                 button-1~variant1.json
                 button-1.js

The following files would be moved to ./public/patterns/atoms-button-1/:

button-1.scss
button-1.mustache
button-1.html
button-1.js

The following files would be moved to ./public/patterns/atoms-button-1-variant1/:

button-1.scss
button-1-variant1.mustache
button-1-variant1.html
button-1.js

Tabs/panels on the front-end modal would show the related .scss and .js files.

dmolsen avatar Aug 04 '16 01:08 dmolsen