Use Typescript build JSON files
- fix deep require
.ts
files trigger browser reload, but not latestvf
json data - improve build reload experience
- Add
Circle
component type check - Add
Anime
component type check - Add
TextInput
component type check - Add
Slider
component type check - Add
ConnectLine
component type check - Add
FollowLine
component type check - Add
SpriteAnimated
component type check - Add
LinePosition
enum - Change components
type
lowercase - Change
guiType
property capitalize - Change
AssetType
use way - Change
Style
property to lowercase - Change
StyleSheet
interface - Remove old help link
- Remove
bgcolor
inindex.html
vf init config - Other detail improve
add EVA
component ts types check
- Add Loader module
- Refactor t2j build module
- Remove
t2j.build.js
to build folder - Change
t2j.config.json
API - And other details improve
- First clone or download this project
npm install
all dependence- Check you
t2j.config.json
file, make sure it's what you want! npm run start
run you project
Here is t2j.config.json
config
{
// config you entry file
"entry": "./src/index.js",
// dist output path
"output": "./vf-json/",
// dist json files spacing
"spaces": 2,
// enable or disable debug mode
"debug": false
}