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

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

1. 编译异常 Note that you need plugins to import files that are not JavaScript [ 100%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译...

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

2. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 66%]

...let" import DropBox from "./script/DropBox" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static startScene:string="test/TestScene.scene"; static sceneRoot:str...

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