vant4-kit
此库将作为Bate版本,将不在继续维护,Rc版本库已发布,请前往@meetjs/vant4-kit
Vant4-Kit
一款基于Vant 4.x 的增强库,旨在加速开发,早点下班
Getting Started
文档地址:vant4-kit
Installation
# npm
npm install vant4-kit --save
# yarn
yarn add vant4-kit
# pnpm
pnpm add vant4-kit
Usage
import { createApp } from 'vue';
import Vant from 'vant';
// 1. Import the Vant
import Vant4Kit from 'vant4-kit';
// 2. Import the vant4-kit
import '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>
Related Packages
@vant/cli
Vant CLI is a tool for building vue component library. You can quickly build a f...
30,230
24,395
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.6 | ^3.4.19 | MIT |