fix: CAMWEBPLAT-198 Fixed SDC component paths.
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.
Merge request reports
Activity
requested review from @pdh45
added 2 commits
- Resolved by Paul Horrocks
- Resolved by 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!
enabled an automatic merge when all merge checks for 9bf1332b pass
mentioned in commit 0e5222e5