Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mark-casias opened this issue Aug 16, 2022 · 0 comments

Comments

@mark-casias
Copy link
Collaborator

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

  • Version used: Compound 1.5.0
  • Browser Name and version:All
  • Operating System and version (desktop or mobile):OS X Monterey with DDev.
  • Link to your project:N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant