xsstomy
2d动画基础 3d动画基础 设计模式 egret-typescript 学习过程中的练习代码
webpck-egret 个人开发环境 可以支持ES 2015/TypeScript 开发
2d动画基础 3d动画基础 设计模式 egret-typescript 学习过程中的练习代码
我按照up主的方式搭建了一个脚手架,项目正常,但是初始化的时候 egret.Event.ADDED_TO_STAGE这个方法不生效。是不是需要配置别的文件啊
可以把依赖的几个js库文件打包成一个文件吗,而不是单独用script标签在HTML里引用
ERROR in [default] F:/6_practiceSpace/webpack-egret/node_modules/[email protected] .10@typescript/lib/lib.d.ts:14715:10
Duplicate identifier 'TouchEvent'.
ERROR in [default] F:/6_practiceSpace/webpack-egret/node_modules/[email protected] .10@typescript/lib/lib.d.ts:14725:12
Duplicate identifier 'TouchEvent'.
ERROR in [default] F:/6_practiceSpace/webpack-egret/src/LoadingUI.ts:41:22
Argument of type 'TextField' is not assignable to parameter of type 'DisplayObje ct'.
Types of property 'addEventListener' are incompatible.
Type '(type: "link", listener: TextField, Z: any, e: TextEvent) => any' i s not assignable to type '(type: "touchMove" | "touchBegin" | "touchEnd" | "t ouchCancel" | "touchTap" | "touchReleaseOut...'.
Type '(type: "link", listener: TextField, Z: any, e: TextEvent) => any' provides no match for the signature '(type: "touchMove" | "touchBegin" | "to uchEnd" | "touchCancel" | "touchTap" | "touchReleaseOutside" | "touchRollOut" | "touchRollOver", listener: DisplayObject, Z: any, e: TouchEvent): any'
ERROR in [default] F:/6_practiceSpace/webpack-egret/src/main.ts:145:8
Supplied parameters do not match any signature of call target.
ERROR in [default] F:/6_practiceSpace/webpack-egret/src/main.ts:145:38
Property 'TouchEvent' does not exist on type 'typeof egret'.
ERROR in [default] F:/6_practiceSpace/webpack-egret/src/main.ts:149:35
Module 'egret' has no exported member 'TouchEvent'.
ERROR in [default] F:/6_practiceSpace/webpack-egret/src/main.ts:159:19
Cannot find name 'Promise'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.