@plopjs @amwmedia Plop looks awesome but I think I want my templates to be in a different codebase from the code I am generating. Does plop support this use case or am I thinking about this all wrong?
-
-
You can use plop.load() to import generators and other plop related code from a NPM dependency. This give you the ability to have shared code while still having the option to create repo-specific generators, helpers, etc. https://github.com/amwmedia/plop/blob/master/plop-load.md …
1 reply 0 retweets 1 like -
Cool.. will look into this though all of this will be private so I was hoping for a way to load by url git repo as the new project starter’s laptops would all be authed to there anyway. Thanks for the response!
2 replies 0 retweets 0 likes -
thanks again
@amwmedia - quick question.. anyway to have addMany ignore hbs syntax inside .js (not .js.hbs) files?1 reply 0 retweets 0 likes -
No. Every file processed by addMany is treated as a template file. However, it should be fairly easy to write a custom action that would simply copy files.
1 reply 0 retweets 0 likes
okay, yeah, seems I need to do that.. we have some JSON that should not be interpreted
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
