@yucheng2/vant4-kit
v0.0.12
Published
一款基于 Vant4.x 的增强组件库
Maintainers
Readme
Getting Started
文档地址:vant4-kit
Installation
# npm
npm install @yucheng2/vant4-kit --save
# yarn
yarn add @yucheng2/vant4-kit
# pnpm
pnpm add @yucheng2/vant4-kit
Usage
import { createApp } from "vue";
import Vant from "vant";
// 1. Import the Vant
import Vant4Kit from "@yucheng2/vant4-kit";
// 2. Import the @yucheng2/vant4-kit
import "@yucheng2/vant4-kit/dist/index.css";
const app = createApp();
// 3. Register the components
app.use(Vant);
app.use(Vant4Kit);<template>
<x-form ref="formRef" :model="FormValue" :items="formOptions" />
</template>