Skip to content

介绍 ​

本手册面向当前目录中的 FirstUI uni-app 选项式 API 组件源码。组件配置文件标注版本为 V2.3.0;使用较新版本的资料时,应以本地实现为准。

使用前准备 ​

将需要的组件放在 uni-app 工程的 components 目录中。可通过 easycom 自动注册,也可在页面中显式导入和注册,实际路径以你的项目为准。

vue
<template>
  <!-- 确认按钮 -->
  <fui-button text="确认"></fui-button>
</template>

<script>
import FuiButton from '@/components/fui-button/fui-button.vue';

export default {
  components: {
    // 确认按钮
    FuiButton
  }
};
</script>

关于本手册 ​

组件属性和事件索引来自源码静态分析。带有平台条件编译或动态默认值的条目需要对照源文件;缺少说明的条目等待进一步核实。