Get started with require.js CDN
MIT licensed
Require.js: Popular library for managing asynchronous JS script dependencies and optimization.
Tags:- loader
- modules
- asynchronous
- popular
Stable version
Copied!
How to start using require.js CDN
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.cdnhub.io/require.js/2.3.6/require.min.js"></script>
<script>
require.config({
paths: {
'jquery': 'https://code.jquery.com/jquery-3.6.0.min'
}
});
require(['jquery'], function($) {
$(function() {
// Your code here
console.log('jQuery loaded');
});
});
</script>
</head>
<body>
</body>
</html>
Copied!
Copied!
All versions
0.10.0
0.11.0
0.12.0
0.13.0
0.14.0
0.14.1
0.14.2
0.14.3
0.14.4
0.14.5
0.15.0
0.2.0
0.2.1
0.22.0
0.23.0
0.24.0
0.25.0
0.26.0
0.27.0
0.27.1
0.8.0
0.9.0
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.1.0
2.1.1
2.1.10
2.1.11
2.1.12
2.1.13
2.1.14
2.1.15
2.1.16
2.1.17
2.1.18
2.1.19
2.1.2
2.1.20
2.1.21
2.1.22
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
2.1.8
2.1.9
2.2.0
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
*** 2.3.7