Missing bootstrap libraries include in theme info file, where not all declared libraries in VARTHEME_SUBTHEME.libraries.yml are included in VARTHEME_SUBTHEME.starterkit.yml.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mqanneh created an issue. See original summary.

mqanneh’s picture

Assigned: mqanneh » Unassigned
Status: Active » Needs review
FileSize
917 bytes
Rajab Natshah’s picture

Good catch!!!

Not sure when it slipped.

Is it better to have it in the
VARTHEME_SUBTHEME.libraries.yml
or the
vartheme.libraries.yml

  • RajabNatshah committed 0fe239c on 8.x-4.x authored by mqanneh
    Issue #2843640 by mqanneh: Missing bootstrap libraries include in theme...
Rajab Natshah’s picture

Committed .. Thank you :)

We could have more study and testing for where to load the bootstrap and vartheme

We do have number of options.
1. Exclusive and exclude some of the base theme libraries
2. Double load, which I'm trying to avoid.
3. load on vartheme base theme only.
4. Only load in sub theme.

Which one do you think is better? or if we do have other options

Rewarded work on this fix :)

mqanneh’s picture

Status: Needs review » Fixed
Rajab Natshah’s picture

Status: Fixed » Closed (fixed)