FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

fix: CAMWEBPLAT-198 Fixed SDC component paths.

Merged Ray Addams requested to merge feature/CAMWEBPLAT-198 into develop
All threads resolved!

What is it?

Correcting paths for single directory components so js and css files are picked up correctly by Drupal.

What impact will there be?

Twig paths have changed. All existing paths have been updated to support.

What actions do I need to take?

All future top-level Twig component includes (ones with a .component.yml file) should use the include style: {% include "cambridge_tailwind:directory-name" with { ... } %} and the directory name must match the Twig and YML filenames.

If checking this branch out from a different branch, you may need to manually delete the autogenerated story .json files. This only affects local development as Storybook is currently only for local development.

Are there any risks I should be aware of?

None.

Edited by Ray Addams

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Paul Horrocks
    • Resolved by Paul Horrocks

      I had a slight issue where I had to delete the old menu folders stories.json file as the names clashed, more of a note for anyone else hitting this. But works locally again!

  • Ray Addams changed the description

    changed the description

  • Paul Horrocks approved this merge request

    approved this merge request

  • Paul Horrocks enabled an automatic merge when all merge checks for 9bf1332b pass

    enabled an automatic merge when all merge checks for 9bf1332b pass

  • Paul Horrocks resolved all threads

    resolved all threads

  • merged

  • Paul Horrocks mentioned in commit 0e5222e5

    mentioned in commit 0e5222e5

  • Please register or sign in to reply
    Loading