0.1.4 • Published 4 years ago
p-components v0.1.4
p-components
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Customize configuration
组件说明
BackToTop: 返回顶部组件
主要配置属性
target:window 窗口滚动回到顶部,parent 父组件滚动回到顶部
iconCode: iconfont 图标代码
x: 返回位置 left,默认 0
y: 返回位置 top,默认 0
transitionName: 动画效果,默认 'fade'
visibilityHeight: 显示回到顶部的滚动条位置,默认 '800px'
BreadCrumb: 面包屑导航组件
主要配置项
firstPageName: 首页路由名称
firstPagePath: 首页路径
firstPageTitle: 首页标题