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

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

51. Laya2.6 vscode 编译错误 [ 48%]

... gulpfile E:\work\svn\layacore\code\TestLive2d\.laya\compile.js [17:22:12] Task 'compile' is not in your gulpfile [17:22:12] Please check the documentation for proper gulpfile formatting exit:1   附件 : --> 2020-05-09 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关...

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

52. 自定义场景继承导出,会在自定义类中加入Laya.前缀导致layaMaxUI文件报错 [ 43%]

... 添加如下代码   // 如果是发布时调用编译功能,增加prevTasks let prevTasks = ""; if (global.publish) {     prevTasks = ["loadConfig","替换Laya前缀"]; }else{     prevTasks = ["替换Laya前缀"] }  const fs = require("fs");  function readFile(path) {     if (fs.e...

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

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

...找的么 我 怎么在官方文档找不到  还有1.0的时候的 一些tasks.json的配置参数  "version": "0.1.0", "command": "tsc", "isShellCommand": true, "args": [ "-p", ".", "--outDir", "bin/js", "-d", "true", "--declarationDir", "dts" ], "showOutput": "silent", "problemMatcher": "$tsc"...

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

54. 如何使用vscode编译laya项目 [ 39%]

...'rollup-plugin-glsl'); // 如果是发布时调用编译功能,增加prevTasks let prevTasks = ""; if (global.publish) { prevTasks = ["loadConfig"]; } gulp.task("compile", prevTasks, function () { // 发布时调用编译功能,判断是否点击了编译选项 if (global.publish && !glo...

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

55. 安装layaair2-cmd一直失败 [ 35%]

...eams/destroy.js:60:3)     at processTicksAndRejections (internal/process/task_queues.js:80:21) > gifsicle@4.0.1 postinstall C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\no de_modules\gifsicle > node lib/install.js   ‼ read ECONNRESET   ‼ gifsicle pre-build test ...

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

56. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 33%]

...平台名称对应,所以所有平台名都来自 .laya/publish.js 中 tasks 对象的 key program .option( '-c, --config <configPlatform>', '设置发布平台名称[web|wxgame|bdgame|xmgame|qqgame|oppogame|vivogame|Alipaygame|biligame|bytedancegame|hwgame|taobaominiapp],默认为web' ) ....

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