大约有 232 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0233 秒)
...析器 解决方案 下载xml解析库,引入方式: 1 window.Parser = require("./js/dom_parser"); 和此库相同的还有 xmldom库:https://github.com/jindw/xmldom 需要在相应的文件目录下面放置 需要配合的有 微信小游戏fnt 最后要远程加载laya官网介绍的位图...
来源: Laya_社区 发布时间: 20180928
...ming\npm\node_modules\layaair2-cmd\no de_modules\core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript stand ard library! The project needs your help! Please consider supporting of core-js on Open...
来源: Laya_社区 发布时间: 20200211
...ort xx from "xx"的方式,所有IDE内置cjs模块都可以通过IEditor.require或者IEditorEnv.require去引用。 //可以通过import导入node内置模块 import fs from "fs"; import path from "path"; //也可以通过require const fs = IEditor.require("fs"); const sharp = IEditor.require("sh...
来源: Laya3.0_文档 发布时间: 20251010
...index.html里引用,而是在项目中引用了,或者是AS项目里用require的方式引用了。那都不会合到code.js。这时候,还是要手动针对自己使用的库,尤其是第三方库,进行手工复制。 #### `res`资源目录 res是默认的资源目录,小游戏由于...
来源: Laya2.0_文档 发布时间: 20210714
...e, which is considered a form of spam. The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved. Next Steps - Review the Design section of the App Store Review Guidelines. - Ensure your app is compliant w...
来源: Laya_社区 发布时间: 20200420
...183*****291 赞同来自: 我解决了,在引入js后 window.Parser = require("./js/dom_parser"); 在core.js中 /** *资源加载完成的处理函数。 *@param data 数据。 */ __proto.onLoaded=function(data){ 在 var bFont=new BitmapFont(); bFont.parseFont(this._data,d...
来源: Laya_社区 发布时间: 20180306
...内容: package awesomepackage; message AwesomeMessage { required string awesomeField = 1; } 放在laya/proto下面,proto这个文件夹没有请自己创建。 2、在bin下的index.html里的这个位置,看粗体部分,protobuf.js在项目里已经存在了,不...
来源: Laya_社区 发布时间: 20170216
...e, which is considered a form of spam. The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved. Next Steps - Review the Design section of the App Store Review Guidelines. - Ensure your app is compliant w...
来源: Laya_社区 发布时间: 20200415
...e, which is considered a form of spam. The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved. Next Steps - Review the Design section of the App Store Review Guidelines. - Ensure your app is compliant w...
来源: Laya_社区 发布时间: 20200420
...不到protobufjs这个模块 2 导出的.js文件也报错var $protobuf = require("protobufjs/minimal");括号内的模块也是找不到 请问您那是怎么弄的? 2018-03-21 0 2 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 可以参考下附件中的Demo TSimportRequ...
来源: Laya_社区 发布时间: 20171115