• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 16 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0045 秒)

1. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 100%]

...as a separate module (similar to 'ts.transpileModule'). */     /* Strict Type-Checking Options */     "strict": true,                           /* Enable all strict type-checking options. */     // "noImplicitAny": true,                 /* Raise error on expressions and ...

来源: Laya_社区 发布时间: 20190408

2. 项目发布问题 [ 90%]

...e',   'releasemode=normal',   'exportUICode=true',   'exportRes=true' ] type: Darwin appPath: /usr/local/lib/node_modules/layaair-cmd/ProjectExportTools/ openProject: /Users/xxx/Desktop/chickenGame/chicken_game/laya/.laya loadProject: /Users/xxx/Desktop/chickenGame/chicken_game/laya/.laya assetsP...

来源: Laya_社区 发布时间: 20190322

3. 如何使用javascript版本的加载模式 [ 87%]

...后,再加载ui.json!   Laya.loader.load([ { url: config.layerUIJson, type: Laya.Loader.JSON } ], Handler.create(this, function () { this.gameScenes = new ui.layer.gameScenesUI(); this.addChildren(this.gameScenes); })); 但页面上却没有任何内容显示出来!求教!!我看了论坛...

来源: Laya_社区 发布时间: 20171012

4. layacmd使用ui命令,读取文件D:\s3mh5_client\laya\pageStyles.xml出错 [ 79%]

...,   'releasemode=normal',   'exportUICode=false',   'exportRes=false' ] type: Windows_NT appPath: C:\Users\XXX\AppData\Roaming\npm\node_modules\layacmd\ProjectExportT ools\ openProject: D:\s3mh5_client\laya\.laya loadProject: D:\s3mh5_client\laya\.laya assetsPath: D:\s3mh5_client\laya\assets Page...

来源: Laya_社区 发布时间: 20171028

5. layacmd在centOS 6.5上运行出错 [ 79%]

...clear=true', 'releasemode=normal', 'exportUICode=true', 'exportRes=true' ] type: Linux appPath: /data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/ openProject: /data/ebuild/gongdou/gongdouH5/laya/.laya loadProject: /data/ebuild/gongdou/gongdouH5/laya/.laya assetsPath: /da...

来源: Laya_社区 发布时间: 20171211

6. [LayaAir IDE 2.0 beta4] 使用 prettier 格式化 ts 插件问题 [ 79%]

[LayaAir IDE 2.0 beta4] 使用 prettier 格式化 ts 插件问题 使用 typescript 来开发。我在使用 prettier 来格式化代码的时候, 会出现问题,重复出现一些代码块追加到文件到末尾上。 vs code 中没有这个问题   .prettierrc { "tabWidth": 2, "singleQuote...

来源: Laya_社区 发布时间: 20181102

7. 使用UI遇到ui生成的js顺序问题 [ 76%]

...小游戏如何使用ttf字体? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 请问2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 预设怎么在代...

来源: Laya_社区 发布时间: 20170707

8. Error TS2304: Cannot find name 'Iterable'. [ 76%]

...个遗留项目,首次打开编译报这个错误,是什么问题? TypeScript error: d:/programfiles/layaairide/resources/app/node_modules/typescript/lib/lib.es2015.promise.d.ts(129,21): Error TS2304: Cannot find name 'Iterable'. 2019-10-30 添加评论 免费帖 --> 分享 微博 QZONE 微信...

来源: Laya_社区 发布时间: 20191030

9. 如何使用vscode编译laya项目 [ 75%]

...目文件夹下 .vscode/launch.json 添加配置   { "name":"compile", "type": "node", "request": "launch", //nodejs 可执行文件 "runtimeExecutable": "D:\\workspace\\layabox\\node-v7.9.0-win-x64\\node.exe", //使用Laya编辑器下的 gulpjs "program": "D:\\workspace\\layabox\\LayaAirIDE_beta\\...

来源: Laya_社区 发布时间: 20200607

10. 使用mask后,苹果手机会闪屏 [ 74%]

...问题:关于苹果审核被拒 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 问题状态 最新活动: 2022-06-27 17:34 浏览: 4004 关注: 2 人 东 • 2022-06-27 18:05 您好。还是有问题,现在倒计时圈会闪,屏幕不闪了,附件在回复里...

来源: Laya_社区 发布时间: 20220627