安装

ReView 组件库安装方式

@reglow/review 是基于 uni-app x(uts/uvue)的移动端组件库,参考 TDesign 设计风格,通过 DCloud 插件市场uni_modules 方式安装,不支持 npm 安装。

方式一:DCloud 插件市场

在 HBuilderX 中搜索并导入 reglow-review,即可安装整个组件库发布包。

方式二:手动复制

uni_modules/reglow-review/ 复制到项目中即可;在 pages.json 中开启 easycom.autoscan 后,组件会自动识别。

{
  "easycom": {
    "autoscan": true
  }
}

reglow-review 组件位于 uni_modules/reglow-review/components/,开启自动扫描后可直接在模板中使用,无需再单独配置 easycom.custom