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

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

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

... /* Specify library files to be included in the compilation. */     // "allowJs": true,                       /* Allow javascript files to be compiled. */     // "checkJs": true,                       /* Report errors in .js files. */     // "jsx": "preserve",      ...

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

2. ui 打包提供 export 选项 [ 97%]

...提供 export 选项 我们公司使用webpack打包js, 如果layaUI.max.all.js可以是es模块, export每一个ui, 我在自己的js中import, 我没有import的ui, 最终打包时就会tree shake将其剔除掉, 同时也可以自动将layaUI.max.all.js压缩, 这可以减少整个项目js的大...

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

3. (layabox2.0) layaUI.max.all.ts里的module ui前为什么要加export [ 82%]

(layabox2.0) layaUI.max.all.ts里的module ui前为什么要加export 这样会导致里面的export class不能识别,编译会出错 2018-10-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 151*****601 赞...

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

4. 重要问题:关于苹果审核被拒 [ 74%]

... in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.   2018-02-28 0 2 分享 微博 QZONE 微信 riven 赞同来自: 请问你们新的库什么时候能弄好,我们等着提交app store审核,很紧急呀 2018-03-01 0 1 分享 微...

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

5. Error TS2304: Cannot find name 'Iterable'. [ 69%]

...ive2.2运行报错。:getBitmapData Cannot find the specified character in all fonts:263c 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 切...

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

6. 打包的apk无法正确运行(laya动画过后就黑屏) [ 66%]

...jsfile模块标签里面里-->     <script src="js/ui/layaUI.max.all.js"></script>     <!--启动类添加到这里-->     <!--jsfile--Main-->     <script src="js/require.js" data-main="js/main.js"></script>     <!--jsfile--Main--> 有...

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

7. 【LayaAirIDE 1.8.2】使用Rollup打包js ,报错 ui is not defined,附带 必现问题 DEMO [ 50%]

...les 模块也去掉了,麻烦你们查看DEEMO的时候,使用 npm install 安装下 node_modules    我这边想做的就是,目前的想法就是 利用 LayaIDE 编译ts为js ,然后用 rollup来打包 bin目录下的js文件,由于我目前项目使用LayaIDE来打包满足不了项目...

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

8. 安装layaair2-cmd一直失败 [ 43%]

...np m\node_modules\layaair2-cmd\layaair2-cmd.js > core-js@2.6.11 postinstall C:\Users\Administrator\AppData\Roaming\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 pol...

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

9. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 32%]

... D/dalvikvm: JIT code cache reset in 0 ms (0 bytes 1/0) D/dalvikvm: GC_FOR_ALLOC freed 259K, 10% free 3081K/3408K, paused 2ms, total 2ms D/dalvikvm: GC_FOR_ALLOC freed 292K, 10% free 3303K/3656K, paused 2ms, total 3ms             [ 12-18 14:33:06.111  2961: 2961 E/         ]   ...

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

10. lib/arm/liblayaair.so 总是崩溃 [ 9%]

...原因吗?    08-14 10:57:48.464 22228-22354/? I/LayaBox: JSRuntime::callMethod {} 08-14 10:57:48.470 22228-22268/? I/System: core_booster, getBoosterConfig = true 08-14 10:57:48.523 2977-2977/? E/Thermal-daemon: [ap] temp_new :49  temp_old :48     Report temperature: [ap] temp :49  report_t...

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