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

大约有 250 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)

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

...   /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */     // "baseUrl": "./",                       /* Base directory to resolve non-absolute module names. */     // "paths": {},                           /* A series of entrie...

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

62. 新创建2D空项目工程(TS) 编译出错 [ 71%]

...\Laya\Test5\.laya\compile.js [15:26:11] Starting 'compile'...  出错了: TypeScript error: ../node_modules/@types/node/index.d.ts(37,22): Error TS6053: File '../node_modules/@types/node/inspector.d.ts' not found.  这是新创建的项目 没有任何代码和修改!   进一步提示:关闭...

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

63. 出现系统BUG!!!!!! [ 71%]

...不一致的编译错误 ios14系统下 blendMode='lighter' 图片异常 TypeScript下HttpRequest发送Post请求有Bug? 我这样载入场景问题出现在哪呢?? 自从layaflash起,就一直存在的bug LayaAir2.61 测试版 物理引擎bug 百分百 复现 发布H5后通过网页打开出...

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

64. LAYA2.0 无法编译 什么鬼问题? [ 71%]

...nk\myLaya\.laya\compile.js [17:46:10] Starting 'compile'...  出错了:  TypeScript error: node_modules/@types/node/index.d.ts(54,22): Error TS6053: File 'node_modules/@types/node/base.d.ts' not found. 附件 : --> 2019-07-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

65. mac os ts环境配置 [ 71%]

mac os ts环境配置 在mac os系统下,安装typescript后使用LayaAirIDE编译出现错误 src/uiscripts/InterServiceSports/OverServiceFight.ts(24,48): error TS2339: Property 'getSquareIconPath' does not exist on type 'typeof ui'. src/uiscripts/InterServiceSports/OverServiceFight.ts(32,48): e...

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

66. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 70%]

...用和显示这个img。我们新建个项目。代码如下所示: ```typescript class LayaUISample { constructor() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor = "#ffcccc"; var data: string = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp: ...

来源: Laya2.0_文档 发布时间: 20210715

67. 如何使用vscode编译laya项目 [ 70%]

...aceDir = argv.split("=")[1].replace("/.laya/compile.js", ""); } }2、修改typescript编译配置 typescript({ cacheRoot:workSpaceDir + "/.rpt2_cache", tsconfig:workSpaceDir + "/tsconfig.json", check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOpt...

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

68. TS项目编译报错‘inspector.d.ts' not found’ [ 70%]

...ents/sports1/.laya/gulpfile.js [11:19:00] Starting 'default'... 出错了: TypeScript error: ../node_modules/@types/node/index.d.ts(34,22): Error TS6053: File '../node_modules/@types/node/inspector.d.ts' not found. 重装node.js 和 ts 都不行...求救~~ 2018-12-06 添加评论 免费帖 --> ...

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

69. Laya官方文档的错误 [ 70%]

Laya官方文档的错误 官方介绍的TypeScript模块中LayaAir IDE篇(TS)/设计模式界面概述/九,层级管理器 图片显示的动画编辑器,而介绍的是层级管理器。 附件 : --> 2019-02-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

70. List出现Bug了 [ 70%]

...) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 TypeScript下HttpRequest发送Post请求有Bug? List滑动条会引起单元格上的按钮点击后多次触发点击事件 LayaAir2.61 测试版 物理引擎bug 百分百 复现 自从layaflash起,就一直存在的bug ...

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