zicht / htmldev-bundle

Library - Easy living styleguides with Symfony and Twig
MIT License
4 stars 1 forks source link

Keep macros in bundle #10

Closed TowardsDeath closed 8 years ago

TowardsDeath commented 8 years ago

Right now, the macros are copied to ~/htmldev in the project. It's better to keep them in the bundle so they can be updated with HtmldevBundle upgrades.

Note: importing macros is done with @htmldev/macros/components, where @htmldev points to the htmldev-directory in the project. There should be a new loaded that maps @htmldev_macros (or something similar, e.g. short) to the ZichtHtmldevBundle.

TowardsDeath commented 8 years ago

See ef9b39aa2ddf7174ecf470a7c906c448b9de5151