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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

syammohan_zyxware created an issue. See original summary.

syammohanmp’s picture

Please apply the attached patch file to fix this issue

syammohanmp’s picture

syammohanmp’s picture

Issue summary: View changes
syammohanmp’s picture

Assigned: syammohanmp » Unassigned
Status: Active » Needs review
dshults’s picture

Could angular use bower to manage the front end dependencies?

mrjmd’s picture

Status: Needs review » Fixed

@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.

syammohanmp’s picture

Thank you @mrjmd :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.