frctl / fractal

A tool to help you build and document website component libraries and design systems.
https://fractal.build
MIT License
2.11k stars 171 forks source link

can i loose the @component in subcomponents? #428

Closed Lefthandmedia closed 6 years ago

Lefthandmedia commented 6 years ago

Hi, I'm trying to get fractal to work in an ecxisting Foundation6 project. We generate a prototype through Zurbs panini and Fractal to generate the component documentation. Fractal is so cool and seems to be a near perfect match for Zurbs-foundation But right now we get stuck because panini wants the subcomponents to be called like normal handlebar partials

<div class="c-card">
    <p>{{content}}</p>
    {{> button}}
</div>

And Fractal wants

<div class="c-card">
    <p>{{content}}</p>
    {{> @button}}
</div> 

Is there a way to get fractal to NOT want the @ for a component? TNX RDG

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.