Pageworks / papertrain

Papertrain: a Craft CMS 3 framework
http://download.papertrain.io
MIT License
5 stars 2 forks source link

Macro Generator #159

Closed codewithkyle closed 5 years ago

codewithkyle commented 5 years ago

We should define and add the ability to create macros easily with in the lib directory.

codewithkyle commented 5 years ago

We should also allow users to easily input a custom location for where the code is created. We should consider asking questions instead of using predefined list of types.

codewithkyle commented 5 years ago

The generator should be documented and consist of a structure that would allow users to convert the generated files to other templating formats OR allow users to use with static websites. We shouldn't build the tool to only work around Craft.

codewithkyle commented 5 years ago

Maybe instead of a macro generator we just create a few basic macros that we will always use, such as the form elements macro along with an imager source set generator macro.