1.0.2 • Published 3 years ago
timesz-components v1.0.2
timesz-components
安装
npm 安装
npm install timesz-components
cnpm 安装
如果原项目使用cnpm安装依赖,需要cnpm进行安装,否则会导致原项目依赖出现问题
npm install -g cnpm --registry=https://registry.npm.taobao.org cnpm install timesz-components
特殊说明
因项目依赖sass编写样式,项目中需引入sass
针对服务端渲染的框架,这里以nuxt为例,需在客户端加载组件
if (process.client) { Vue.use(TimeszPagination) Vue.use(TimeszPup) }
引入
在main.js或者项目的主入口文件中
整体引入
import timeszComponents from 'timesz-components'; Vue.use(timeszComponents)
按需引入对应的组件
import {TimeszPagination} from 'timesz-components';
Vue.use(TimeszPagination)
完整组件有
TimeszPagination,
TimeszBigimage,
TimeszPup,
TimeszUploadfile
如果在使用过程中遇到问题,麻烦反馈到timesz_it@163.com
更新日志
V1.0.1 修复分页功能显示异常问题,增加按钮被隐藏时,右侧高亮提示当前位置
V1.0.2 修复分页功能上线问题