vue-mobile-hxq
v1.0.32
Published
---
Downloads
106
Readme
vue-mobile-hxq
1. 该组件库基于vue3+typescript+vant4,封了了一些移动端常规的组件,方便快速复用和搭建页面,在业务逻辑大体相同的情况下可直接安装使用,若样式有小的调整可以通过样式覆盖。该库已经发布到npm,按照下面步骤安装使用,不用下载此代码,改源码为开发人员维护及发布。
使用示例
1.安装
npm i vue-mobile-hxq
2.引用组件
import {HxqDetailLie,HxqDetailImage} from 'vue-mobile-hxq''
3.引用样式
import 'vue-mobile-hxq/dist/style.css'
在main.ts中引用
4.使用组件
<hxq-detail-lie name="店铺信息" :value="信息"/>
<hxq-detail-image name="店铺图片" :value="img" />
img为['xxxxxx']