1

I'm writing a UWP app in JavaScript. I have an App Service declared in package.appxmanifest. By pointing its StartPage attribute to a JavaScript source file, I can control what gets executed.

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

Carl Patenaude Poulin
  • 6,238
  • 5
  • 24
  • 46

1 Answers1

0

Use the importScripts method. For example:

importScripts("/node_modules/jquery/dist/jquery.min.js");
Carl Patenaude Poulin
  • 6,238
  • 5
  • 24
  • 46