Components exercises
1 - Building Components
This training is broken down in three parts: Building Components, Preparing Drupal for Components, and finally, Integrating components with Drupal.
1.1 - Generating the styleguide
Before we can build components, we need to generate a living styleguide using KSS Node to host our components.
KSS Node is a methodology for documenting CSS and generating styleguides. Fortunately, Mediacurrent's theme generator already provides KSS Node fully integrated when a new Drupal 8 thme is generated.
If you already created a new theme or used the provided shiny
theme, and compiled the theme, you already have a styleguide in place. You can view the styleguide by going shiny/dist/style-guide/index.html
.