JavaScript require() on client side


Question

Is it possible to use require() (or something similar) on client side?

Example

var myClass = require('./js/myclass.js');
1
81
10/14/2016 10:50:46 AM

You should look into require.js or head.js for this.

41
5/19/2019 3:46:24 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon