@vb-design/ui-h5

0.0.1-beta • Public • Published

开发规范

  • packages文件夹下存放 UI 组件或者业务组件

示例

|——Page
    |——__tests__  //存放单元测试
    |——src   //存放当前组件的多端逻辑
    |——demo  //存的当前演示
    |——index.md  //使用文档
    |——index.scss  //当前组件的样式
    |——index.taro.tsx   //taro版本的组件代码
    |——index.tsx        //H5组件的代码

组件对外暴露

import { createComponent } from '@/packages/utils';

const { create, bem } = createComponent('page');

export default create({
  //...组件代码逻辑
});

组件库打包

pnpm build

预览

pnpm dev

Dependents (0)

Package Sidebar

Install

npm i @vb-design/ui-h5

Weekly Downloads

1

Version

0.0.1-beta

License

ISC

Unpacked Size

51.3 kB

Total Files

31

Last publish

Collaborators

  • qinrifeng