流程
下载require.js
官方下载地址引入require.js
<script src="js/require.js"></script>
- 编辑 && 引入 require.config.js
require.config({
paths: {
"jquery": "jquery.min",
"underscore": "underscore.min",
"backbone": "backbone.min"
下载require.js
官方下载地址
引入require.js
<script src="js/require.js"></script>
require.config({
paths: {
"jquery": "jquery.min",
"underscore": "underscore.min",
"backbone": "backbone.min"