@agreejs/agreeize

3.2.14 • Public • Published

@agreejs/agreeize

暴露给 @agreejs/cli/convert 的原生小程序转 Agree 转换器。

核心 API

parse(options)

解析小程序源文件为 React/Vue 组件、

options

interface Option {
  json?: string, // 小程序配置文件
  script?: string, // 小程序的 JavaScript 文件
  wxml?: string, // wxml 文件
  path: string, // 当前页面路径
  rootPath: string // 根目录路径
}

Dependencies (12)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @agreejs/agreeize

    Weekly Downloads

    1

    Version

    3.2.14

    License

    MIT

    Unpacked Size

    1.43 kB

    Total Files

    3

    Last publish

    Collaborators

    • agreejs