Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have created new pdb_react component and added below code to the *.info.yml file
add_js:
footer:
'//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js': {type: external, minified: true}
But it's not loaded, because of the wrong path producing by PDB module.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2824013-fix-load-external-sources.patch | 926 bytes | syammohanmp |
Comments
Comment #2
syammohanmp CreditAttribution: syammohanmp at Zyxware Technologies commentedPlease apply the attached patch file to fix this issue
Comment #3
syammohanmp CreditAttribution: syammohanmp at Zyxware Technologies commentedComment #4
syammohanmp CreditAttribution: syammohanmp commentedComment #5
syammohanmp CreditAttribution: syammohanmp at Zyxware Technologies commentedComment #6
dshults CreditAttribution: dshults as a volunteer commentedCould angular use bower to manage the front end dependencies?
Comment #8
mrjmd CreditAttribution: mrjmd commented@syammohan, thank you for this patch, this is a great addition!
I've committed it and pushed to the latest 8.x-1.x branch, it will also be included in the next official release.
@dshults, you should create a new Feature Request issue regarding your Bower question.
Comment #9
syammohanmp CreditAttribution: syammohanmp at Zyxware Technologies commentedThank you @mrjmd :)