0.0.12 • Published 2 years ago
@flatfishjs/reactize v0.0.12
@flatfishjs/reactize
暴露给 @flatfishjs/cli/convert
的低代码转 react 转换器。
核心 API
parse(options)
解析小程序源文件为 React/Vue 组件、
options
interface Option {
json?: string, // 小程序配置文件
script?: string, // 小程序的 JavaScript 文件
wxml?: string, // wxml 文件
path: string, // 当前页面路径
rootPath: string // 根目录路径
}