UNPKG

@difizen/umi-plugin-mana

Version:

- 支持 decorator 所需的 babel 配置,在 typescript 4 环境生效 - 支持动态路由路径 - 支持 nodenext,在 import path 中允许增加扩展名 - 支持 mana 运行时能力,基于 slot 的路由等

10 lines 714 B
import type { IApi } from 'umi'; export declare const DIR_NAME_IN_TMP = "plugin-mana"; export declare const providerContent = "import React from 'react';\nimport { ManaAppPreset, ManaComponents } from '@difizen/mana-app';\nimport RootModule from '@/modules/app.module';\n\nexport default ({ children }: { children: React.ReactNode }) => {\n return (\n <ManaComponents.Application modules={[ManaAppPreset, RootModule]} renderChildren={true}>\n {children}\n </ManaComponents.Application>\n );\n};\n"; export declare const pageContent: (slot: string) => string; /** * slot router config */ declare const _default: (api: IApi) => void; export default _default; //# sourceMappingURL=mana-runtime.d.ts.map