We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modules值里的name字段
requirejs或者requre调用的第一个参数
<script> requirejs(['path/to/module1', 'module2']); </script>
data-main
<script data-main="scripts/main" src="scripts/require.js"></script>
The text was updated successfully, but these errors were encountered:
不用修改模块名,配置paths属性即可
Sorry, something went wrong.
No branches or pull requests
build.js
modules值里的name字段
html文件
requirejs或者requre调用的第一个参数
data-main
The text was updated successfully, but these errors were encountered: