Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@ks-web/compat

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ks-web/compat

Provide Vant 3 compatible behavior for Vant 4

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
3
Created
Source

@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';

FAQs

Package last updated on 16 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts