vss-web-extension-sdk icon indicating copy to clipboard operation
vss-web-extension-sdk copied to clipboard

Systemjs loader instead of require

Open JamesInDenver opened this issue 8 years ago • 3 comments

We would love to be able to leverage Angular 2 when building TFS/VSTS extensions but, unless I'm missing something, this doesn't appear to be currently possible. The integrated require loader can't load SystemJS modules defined by ng2 and attempting to bypass that loader and use SystemJS fails because it's not authenticating requests correctly with TFS. Would this be a feasible enhancement?

JamesInDenver avatar Sep 27 '16 18:09 JamesInDenver

Hi @JamesInDenver

Sorry for the late reply. We have never tried SystemJs to develop an extension before. We'll try to come up with a simple extension and repro the issue you mentioned.

Btw, it would be great if you could tell us which other client libraries you use.

Thanks Serkan

serkan-inci avatar Dec 06 '16 13:12 serkan-inci

No worries! Angular 2 with SystemJS would be the big ticket items. Presumably, any other libraries loaded with such an extension would be deployed and loaded in the same manner (via systemjs).

JamesInDenver avatar Dec 06 '16 16:12 JamesInDenver

I second this! In the meantime at least a wiki on how to use it with the most popular user interface library (react, vue, angular and so on) would be cool.

donbabbeo avatar Mar 29 '17 17:03 donbabbeo