Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在玩 Cordova,并且一直在关注这个文档来学习如何创建示例插件。但是,我对必须将 Javascript 放在文档开头的位置感到困惑。任何帮助,将不胜感激!我也在使用带有 Xcode 的 iOS。谢谢!~Carpefizz
要么将它们放在 index.html 的标头中,要么将单独的标头添加到 index.html 并将脚本包含在单独的 .js 文件中。请务必阅读您能找到的所有文档!