1.1.4 • Published 3 years ago

pm-skeleton v1.1.4

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

pm-skeleton(骨架屏)

安装教程

yarn install

启动项目

yarn serve

发布 npm 版本

npm publish --access=public

打包项目

yarn build

使用方法

  1. 安装骨架屏插件:yarn add pm-skeleton
  2. 在需要使用的页面引入 import { PmSquareSkeleton } from 'pm-skeleton'
  3. components中使用该插件
  4. 在需要用到的地方挂载该插件<PmSquareSkeleton />
  5. 组件:PmSquareSkeleton、PmLongSkeleton

参数说明 Props

属性名类型描述
linesNumber判断需要显示几行(默认为 3 行)
afewNumber判断一行展示几块(默认为 4 块),在 <PmSquareSkeleton />时有效
gridNumber判断一行展示几块(默认为 6 块),在 <PmLongSkeleton />"时有效
1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago