3.1.16 • Published 4 years ago
@gtarojs/taroize v3.1.16
@gtarojs/taroize
暴露给 @gtarojs/cli/convert
的原生小程序转 Taro 转换器。
核心 API
parse(options)
解析小程序源文件为 React/Vue 组件、
options
interface Option {
json?: string, // 小程序配置文件
script?: string, // 小程序的 JavaScript 文件
wxml?: string, // wxml 文件
path: string, // 当前页面路径
rootPath: string // 根目录路径
}