Open jonbellah opened 8 years ago
@jonbellah This is a great idea. What are your thoughts of a generator plugin that included the component library?
Sounds like a plan. Are there docs/best practices anywhere on how to structure those generator plugins?
V1 is still in pretty heavy construction, but extensions is a standalone project I wrote. The Readme has some docs here: https://github.com/lkwdwrd/extendable-yeoman. What's mostly missing right now is docs on how V1 structures data and gives access to extensions to modify the behavior of the generator.
We will be breaking the Library generator out into an extension as part of the V1 build, so when that's done there will be an example of how it might look. Adding the ability to pull in the component library is an awesome idea. I do want to be very careful about adding much to the core set of generators, but that really is the beauty of extensions here.
I've finally set up WP Make successfully and gave it a try in a test theme. 😄 I wanted to suggest based on what's there by default, that we include some files for front-end like the issue @JonBellah linked to, a WordPresss stylesheet, as well as some bare bones template files.
I feel like every time I create a WP theme from scratch where this generator was used, I have to create these files so having the foundation template heirarchy would help a lot! Thoughts?
When generating a new theme, there's little in the way of front-end markup and templating. Once the component library is in a releasable state, what do you think about bringing in some of the basic components (blogroll, author cards, navigation menu, etc)?