interactive-pioneers / generator-pioneerapp

Yeoman generator to scaffold front-end web app.
GNU General Public License v3.0
3 stars 0 forks source link

Hologram styleguide support #23

Closed ain closed 8 years ago

ain commented 8 years ago

As an additional prompt, it should be possible to include Hologram (or an alternative styleguide solution).

The problem: RubyGem dependency, similarly to #18. Needs a thorough approach when dealing with gems.

ain commented 8 years ago

After thorough discussion, decision to disband the idea of styleguide as part of the generator. It'd be duplication of features as generator already scaffolds structure to achieve the same result:

  1. yo pioneerapp my-application
  2. Add styleguide.hbs under src/templates/pages (with its own layout if needed)
  3. Add all the styleguide partials (button, selectbox, etc.) under src/templates/partials to be used in styleguide.hbs

This workflow avoids any possible duplication as reuse of templates in that case is much easier than dealing with SCSS comments.