--when require.js loads it will inject another script tag<script data-main="scripts/main" src="scripts/require.js"></script>
您通常会使用数据主脚本来设置配置选项,然后加载第一个应用程序模块<script type=
/js/lib/requirejs/require.js", data-main="../js/main.min.js")//-script(src="../js/lib/requirejs/require.js", data-main="..Backbone is not defined backbone.marionette.