@ks-web/compat
v0.0.2
Published
Provide Vant 3 compatible behavior for Vant 4
Downloads
3
Keywords
Readme
@ks-web/compat
This package provides Vant 3 compatible behavior for Vant 4 users.
Install
# with npm
npm i @ks-web/compat
# with yarn
yarn add @ks-web/compat
# with pnpm
pnpm add @ks-web/compat
Usage
// Same as Toast in Vant 3
import { Toast } from '@ks-web/compat';
// Same as Dialog in Vant 3
import { Dialog } from '@ks-web/compat';
// Same as Notify in Vant 3
import { Notify } from '@ks-web/compat';
// Same as ImagePreview in Vant 3
import { ImagePreview } from '@ks-web/compat';