Feature/update cli (#4)

* fix js api typo

* update doric-cli target file
This commit is contained in:
osborn
2019-12-23 17:29:42 +08:00
committed by GitHub
parent efe0756541
commit c1776f6f25
13 changed files with 17 additions and 16 deletions

View File

@@ -21,13 +21,13 @@ class __$__ extends Panel {
onClick: () => {
number.text = `${++count}`
},
layoutConfig: layoutConfig().exactly(),
layoutConfig: layoutConfig().just(),
width: 200,
height: 50,
}),
])
.apply({
layoutConfig: layoutConfig().exactly().a(Gravity.Center),
layoutConfig: layoutConfig().just().configAlignment(Gravity.Center),
width: 200,
height: 200,
space: 20,

View File

@@ -10,7 +10,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"doric": "0.1.3",
"doric": "0.2.0",
"reflect-metadata": "^0.1.13",
"rollup": "^1.27.14",
"@rollup/plugin-commonjs": "^11.0.0",