* Copyright (c) 2024 - present TinyEngine Authors.
* Copyright (c) 2024 - present Huawei Cloud Computing Technologies Co., Ltd.
*
* Use of this source code is governed by an MIT-style license.
*
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
*
*/
export default {
config: {
id: 'engine.config',
theme: 'light',
material: [],
canvasDependencies: {
styles: [],
scripts: []
},
dslMode: 'Vue',
platformId: 918,
lifeCyclesOptions: {
Angular: [
'_constructor_',
'ngOnInit',
'ngOnChanges',
'ngDoCheck',
'ngAfterContentInit',
'ngAfterContentChecked',
'ngAfterViewInit',
'ngAfterViewChecked',
'ngOnDestroy'
],
Vue: [
'setup',
'onBeforeMount',
'onMounted',
'onBeforeUpdate',
'onUpdated',
'onBeforeUnmount',
'onUnmounted',
'onErrorCaptured',
'onActivated',
'onDeactivated'
],
HTML: [],
React: [
'componentWillMount',
'componentDidMount',
'componentWillReceiveProps',
'shouldComponentUpdate',
'componentWillUpdate',
'componentDidUpdate',
'componentWillUnmount'
]
},
lifeCycleTips: {
Vue: '通过Vue解构出来的方法都可以在setup这里使用,比如watch、computed、watchEffect等'
}
},
themes: [
{
id: 'engine.theme.light',
title: '亮色主题'
},
{
id: 'engine.theme.dark',
title: '暗色主题'
}
]
}