mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-14 21:12:53 +00:00
86 lines
1.7 KiB
Plaintext
86 lines
1.7 KiB
Plaintext
{
|
|
// 本例是为了测试一下小程序的 runtime 模式
|
|
version: '1.0.0',
|
|
componentsMap: [
|
|
{
|
|
componentName: 'Card',
|
|
package: '@alife/right-design-card',
|
|
version: '*',
|
|
destructuring: false,
|
|
exportName: 'Card',
|
|
},
|
|
{
|
|
componentName: 'View',
|
|
package: 'rax-view',
|
|
version: '^1.0.0',
|
|
destructuring: false,
|
|
exportName: 'View',
|
|
},
|
|
{
|
|
componentName: 'Text',
|
|
package: 'rax-text',
|
|
version: '^1.0.0',
|
|
destructuring: false,
|
|
exportName: 'Text',
|
|
},
|
|
{
|
|
componentName: 'Image',
|
|
package: 'rax-image',
|
|
version: '^1.0.0',
|
|
destructuring: false,
|
|
exportName: 'Image',
|
|
},
|
|
{
|
|
componentName: 'Page',
|
|
package: 'rax-view',
|
|
version: '^1.0.0',
|
|
destructuring: false,
|
|
exportName: 'Page',
|
|
},
|
|
],
|
|
componentsTree: [
|
|
{
|
|
componentName: 'Page',
|
|
fileName: 'home',
|
|
meta: {
|
|
router: '/',
|
|
},
|
|
state: {},
|
|
props: {},
|
|
lifeCycles: {},
|
|
methods: {},
|
|
dataSource: {
|
|
list: [],
|
|
},
|
|
children: [
|
|
{
|
|
componentName: 'Card',
|
|
children: [
|
|
{
|
|
componentName: 'Text',
|
|
props: {},
|
|
children: 'This is a demo card.',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
utils: [],
|
|
css: 'page,body{\n width: 750rpx;\n overflow-x: hidden;\n}',
|
|
config: {
|
|
sdkVersion: '1.0.3',
|
|
historyMode: 'hash',
|
|
targetRootID: 'root',
|
|
miniAppBuildType: 'runtime',
|
|
},
|
|
meta: {
|
|
name: 'Rax App Demo',
|
|
git_group: 'demo-group',
|
|
project_name: 'demo-project',
|
|
description: '这是一个示例应用',
|
|
spma: 'spmademo',
|
|
creator: '张三',
|
|
},
|
|
}
|