cocos creator 引用网络js文件

例如:

 

C:\CocosCreator\resources\static\build-templates

这个目录下面,web-desktop或者web-mobile,里面各有template和template-dev两个文件夹,把里面的index.html都加上:

 

那么你调试和发布的时候就自动用这个带wurfl.js的模板了。

你可能感兴趣的:(cocos creator 引用网络js文件)