fzs-address-vue2
v0.0.2
Published
地址组件库
Downloads
4
Readme
安装
pnpm add @fzs/address-vue@latest --registry http://183.240.167.100:34000/
全局注册
import { createApp } from 'vue'
import App from './App.vue'
import FzsAddress from '../dist/address-vue'
import '../dist/style.css'
createApp(App).use(FzsAddress({
fzsToken: "5bfa97b693a739c8c74638e8a1d9d3d4",
clientId: '2'
})).mount('#app')
使用
<template>
<FzsAddressList
:vant-config-provider-props="{
'theme-vars': { 'address-list-item-text-color': 'red' },
}"
:vant-address-list-props="{
'default-tag-text': '默认',
onClickItem(item) { },
}"
/>
</template>