0.0.5 • Published 1 year ago

@haici/taro-debug v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

taro-debug

内置相关taro-debug工具和组件。

安装

yarn add @haici/taro-debug

组件工具

Container

介绍

debug容器,结合 @haici/taro-inject-loader 注入,为每个页面包裹一层,注入与业务无关的公共功能,如:

使用
import { Container } from '@haici/taro-debug';

export default function (props) {
  const { children } = props;
  return <Container>{children}</Container>;
}
Props
参数说明类型默认值
className类名string''

Debug

介绍

debug组件

  • 非发布环境弹窗提示
  • 非发布环境标识
  • Debug功能(ToDo)
使用
import { Debug } from '@haici/taro-debug';

export default function () {
  return <Debug />;
}
Props
参数说明类型默认值
className类名string''

0.0.5-beta.0

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.1-beta.1

2 years ago