mrjmd / pdb

Decoupled Blocks is a Drupal 8 module to simplify integrating javascript frameworks into your site.
https://www.drupal.org/sandbox/mrjmd/2664138
57 stars 14 forks source link

A stub NG2 upload component that exposes component-specific libraries #45

Closed phenaproxima closed 8 years ago

phenaproxima commented 8 years ago

This PR adds a shell component to upload files with Angular 2, and it exposes a component-specific library that is loaded asynchronously using the ES6 module loading system (which means it needs to pass configuration into SystemJS). It's not perfect, but for now it's a solid way for components to bring in additional resources.

This stuff should eventually be moved into Component API.