emulsify-ds / compound

Compound is the default component collection for Emulsify
https://emulsify-ds.github.io/compound/
GNU General Public License v2.0
12 stars 12 forks source link

Default Compound install adds Tabs template but not the Tabs component #54

Open mark-casias opened 2 years ago

mark-casias commented 2 years ago

Expected Behavior

When you install compound without any additional components, and enable the theme, we should still be able to see the site with out error.

Current Behavior

White screen of death because Drupal can not find the @molecules/tabs/tabs.twig referenced by themes/custom/${themename}/templates/navigation/menu-local-tasks.html.twig

mitigated by installing the component manually.

Possible Solution

Option 1: Install tabs component by default. Option 2: rename menu-local-tasks.html.twig to menu-local-tasks.html.twig.example with instructions on how to enable once tabs component is added. Option 3: Install template file with component?

Steps to Reproduce (for bugs)

  1. Install Compound
  2. Build (or Develop)
  3. Enable Theme
  4. Able to open themed page
  5. WSOD

Context

WSOD when giving an example training was very off putting (then again I probably should

Your Environment