mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 17:48:13 +00:00
新增raxdemo
This commit is contained in:
parent
0e65b1ff51
commit
18ca957905
@ -57,7 +57,7 @@
|
||||
{ "library": "VisualEngineUtils.NumberSetter", "name": "@ali/vs-number" },
|
||||
{ "library": "VisualEngineUtils.OptionsSetter", "name": "@ali/vs-options" },
|
||||
{ "library": "VisualEngineUtils.SelectSetter", "name": "@ali/vs-select" },
|
||||
{ "library": "VisualEngineUtils.TextSetter", "name": "@ali/vs-text" },
|
||||
{ "library": "VisualEngineUtils.TextSetter", "name": "@ali/vs-text"},
|
||||
{ "library": "VisualEngineUtils.ValidationSetter", "name": "@ali/vs-validation" },
|
||||
{ "library": "VisualEngineUtils.ImageSetter", "name": "@ali/vs-image" },
|
||||
{ "library": "VisualEngineUtils.StyleSetter", "name": "@ali/vs-style" },
|
||||
@ -84,6 +84,23 @@
|
||||
"appKey": "template_deep_mobile",
|
||||
"systemType": "",
|
||||
"componentDependencies": [
|
||||
{
|
||||
"packageName": "@alife/service-hall-base-space",
|
||||
"library": "alifeServiceHallBaseSpace",
|
||||
"version": "0.1.0",
|
||||
"components": null,
|
||||
"prototypeViewsUrl": null,
|
||||
"prototypeUrls": {
|
||||
"default": [
|
||||
"https://dev.g.alicdn.com/service-hall-components/base-space/0.1.0/designer.js"
|
||||
]
|
||||
},
|
||||
"alias": "",
|
||||
"prototypeConfigsUrl": [
|
||||
"https://dev.g.alicdn.com/service-hall-components/base-space/0.1.0/designer.js"
|
||||
],
|
||||
"urls": ["https://dev.g.alicdn.com/service-hall-components/base-space/0.1.0/view.js"]
|
||||
},
|
||||
{
|
||||
"prototypeViewsUrl": null,
|
||||
"prototypeUrls": {
|
||||
|
||||
52
packages/demo/public/text.json
Normal file
52
packages/demo/public/text.json
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
{
|
||||
"packageName": "@alife/knowledge-detail",
|
||||
"version": "0.1.0",
|
||||
"library": "ServiceHallKnowledgeDetail",
|
||||
"ext": {
|
||||
"project": "knowledge-detail",
|
||||
"group": "service-hall-components"
|
||||
},
|
||||
"urls": ["https://dev.g.alicdn.com/service-hall-components/knowledge-detail/0.1.0/designer.js"]
|
||||
},
|
||||
{
|
||||
"packageName": "@alife/benefits-list",
|
||||
"version": "0.1.1",
|
||||
"library": "ServiceHallBenefitsList",
|
||||
"ext": {
|
||||
"project": "benefits-list",
|
||||
"group": "service-hall-components"
|
||||
},
|
||||
"urls": ["https://dev.g.alicdn.com/service-hall-components/benefits-list/0.1.1/designer.js"]
|
||||
},
|
||||
{
|
||||
"packageName": "@alife/todo-list",
|
||||
"version": "0.1.1",
|
||||
"library": "ServiceHallTodoList",
|
||||
"ext": {
|
||||
"project": "todo-list",
|
||||
"group": "service-hall-components"
|
||||
},
|
||||
"urls": ["https://dev.g.alicdn.com/service-hall-components/todo-list/0.1.1/designer.js"]
|
||||
},
|
||||
{
|
||||
"packageName": "@alife/todo-list-detail",
|
||||
"version": "0.1.1",
|
||||
"library": "ServiceHallTodoListDetail",
|
||||
"ext": {
|
||||
"project": "todo-list-detail",
|
||||
"group": "service-hall-components"
|
||||
},
|
||||
"urls": ["https://dev.g.alicdn.com/service-hall-components/todo-list-detail/0.1.1/designer.js"]
|
||||
},
|
||||
{
|
||||
"packageName": "@alife/service-hall-tabs",
|
||||
"library": "ServiceHallTabs",
|
||||
"version": "0.1.0",
|
||||
"ext": {
|
||||
"project": "tabs",
|
||||
"group": "service-hall-components"
|
||||
},
|
||||
"urls": ["https://dev.g.alicdn.com/service-hall-components/tabs/0.1.0/designer.js"]
|
||||
}
|
||||
}
|
||||
@ -102,8 +102,8 @@ context.use(HOOKS.VE_SETTING_FIELD_VARIABLE_SETTER, VariableSetter);
|
||||
const externals = ['react', 'react-dom', 'prop-types', 'react-router', 'react-router-dom', '@ali/recore'];
|
||||
|
||||
async function loadAssets() {
|
||||
// const legaoAssets = await editor.utils.get('./raxAssets.json');
|
||||
const legaoAssets = await editor.utils.get('./legao-assets.json');
|
||||
const legaoAssets = await editor.utils.get('./raxAssets.json');
|
||||
// const legaoAssets = await editor.utils.get('./legao-assets.json');
|
||||
|
||||
const assets = upgradeAssetsBundle(legaoAssets);
|
||||
|
||||
@ -145,11 +145,11 @@ async function loadAssets() {
|
||||
}
|
||||
|
||||
async function loadSchema() {
|
||||
// const schema = await editor.utils.get('./rax.json');
|
||||
const schema = await editor.utils.get('./schema.json');
|
||||
const schema = await editor.utils.get('./rax.json');
|
||||
// const schema = await editor.utils.get('./schema.json');
|
||||
editor.set('schema', schema);
|
||||
// editor.set('renderEnv', 'rax');
|
||||
// editor.set('clientTypes', ['mobile']);
|
||||
editor.set('renderEnv', 'rax');
|
||||
editor.set('clientTypes', ['mobile']);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -21,9 +21,9 @@ echo ""
|
||||
|
||||
# work
|
||||
mkdir packages
|
||||
cp -r $WORK_DIR/packages/demo packages/demo
|
||||
# cp -r $WORK_DIR/packages/demo packages/demo
|
||||
cp -r $WORK_DIR/packages/react-simulator-renderer packages/react-simulator-renderer
|
||||
# cp -r $WORK_DIR/packages/rax-simulator-renderer packages/rax-simulator-renderer
|
||||
cp -r $WORK_DIR/packages/rax-simulator-renderer packages/rax-simulator-renderer
|
||||
cp -r $WORK_DIR/packages/editor-preset-vision packages/editor-preset-vision
|
||||
# cp -r $WORK_DIR/packages/editor-preset-general packages/editor-preset-general
|
||||
lerna bootstrap
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user