RequireJS

The primary stuff to understand in using RequireJS is that, there are 2 ways of loading JS files:

  • Using script tag in HTML
  • Using JavaScript

In essence instead of specifying loads of script tags in the index.html file, you can simple include one requirejs file and load all the other JS files using require. Trying it for the first time, let’s see how it goes.

Show your support

Clapping shows how much you appreciated sowdri’s story.