2.0.12 • Published 2 years ago

betanet-mini-ui v2.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Betanet-Mini-UI

简介

Taro而设计的UI Library.

文档

vercel

特性

  • 多端适配.
  • 组件丰富.
  • 按需加载.

taro init

确保当前node>=12.x. 可使用npx taro init projectname选择betanet-mini-ui模板进行初始化项目.

安装

$ npm i betanet-mini-ui --save
或
$ yarn add betanet-mini-ui

使用

import { Input } from 'betanet-mini-ui';

注: betanet-mini-uijs代码默认支持基于ES modulestree shaking. 但你依然可以显式的使用babel-plugin-import去设置按需加载, 设置方式如下:

// babel.config.js
module.exports = {
  plugins: [
    [
      'import',
      {
        libraryName: 'betanet-mini-ui',
        camel2DashComponentName: false,
      },
      'betanet-mini-ui',
    ],
  ],
};

License

MIT

2.0.11

2 years ago

2.0.12

2 years ago

2.0.10

2 years ago

2.0.3

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.1

2 years ago

2.0.0

3 years ago