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
如果我把调用的模块代码写在js文件中,然后html中引用,代码就不会执行打包 需要把js代码写在html中才会打包 如何能实现<script src="require.js" data-main="main.js">这种用法
The text was updated successfully, but these errors were encountered:
这个应该和 autoload 的打包策略有关。简单的引用资源不会打包,如果你用 fis 的标记依赖语法,应该就成了。比如
<!--@require your js path-->
试试把,good luck
Sorry, something went wrong.
感谢,解决问题了
No branches or pull requests
如果我把调用的模块代码写在js文件中,然后html中引用,代码就不会执行打包
需要把js代码写在html中才会打包
如何能实现<script src="require.js" data-main="main.js">这种用法
The text was updated successfully, but these errors were encountered: