tachybase_todo/packages/plugins/@nocobase/plugin-mobile-client/src/server/routes.ts

39 lines
863 B
TypeScript
Raw Normal View History

2023-06-09 12:23:53 +08:00
export const routes = [
{
type: 'route',
path: '/mobile/:name(.+)?',
component: 'MApplication',
uiSchema: {
type: 'void',
'x-component': 'MContainer',
'x-designer': 'MContainer.Designer',
'x-component-props': {},
properties: {
page: {
type: 'void',
'x-component': 'MPage',
'x-designer': 'MPage.Designer',
'x-component-props': {},
properties: {
grid: {
type: 'void',
'x-component': 'Grid',
'x-initializer': 'MBlockInitializers',
'x-component-props': {
showDivider: false,
},
},
},
},
},
},
routes: [
{
type: 'route',
path: '',
component: 'RouteSchemaComponent',
},
],
},
];