Carl Patenaude Poulin Carl Patenaude Poulin - 1 year ago 47
Javascript Question

How do I import libraries into my JavaScript-based UWP app service?

I'm writing a UWP app in JavaScript. I have an App Service declared in

. By pointing its
attribute to a JavaScript source file, I can control what gets executed.

Within that
file, is it possible to import third-party libraries?

Answer Source

Use the importScripts method. For example: