@fexd/mobile
TypeScript icon, indicating that this package has built-in type declarations

0.1.16 • Public • Published

Fexd Mobile

移动端组件库

安装

yarn add @fexd/mobile
# 或者
npm install @fexd/mobile --save

按需加载

配合 babel-plugin-import 实现按需加载

// babel.config.js
module.exports = {
  plugins: [
    [
      'babel-plugin-import',
      {
        libraryName: '@fexd/mobile',
        libraryDirectory: 'lib/exports', // or 'es/exports'
        camel2DashComponentName: false,
        style: (name) => `${name}/style.less`, // or `${name}/style.css`
      },
      '@fexd/mobile',
    ],
  ],
}

Readme

Keywords

none

Package Sidebar

Install

npm i @fexd/mobile

Weekly Downloads

0

Version

0.1.16

License

ISC

Unpacked Size

1.91 MB

Total Files

1709

Last publish

Collaborators

  • cjy0208