Network Processor Module

    @ly-js/vant
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.5 • Public • Published

    @ly-js/vant

    @ly-js/vant 是一个 vant3 二次封装库

    Install

    NPM

    npm i @ly-js/vant --save

    YARN

    yarn add @ly-js/vant

    pnpm

    pnpm add @ly-js/vant

    Usage

    方式一:全局引入

    import LyElement from '@ly-js/vant'
    import '@ly-js/vant/lib/index.css'
    createApp(App).use(LyVant)

    方式二(推荐):自动引入,需要引入插件:unplugin-vue-components

    const Components = require('unplugin-vue-components/webpack')
    const { LyVlementResolver } = require('@ly-js/vant/resolver')
    Components({
      resolvers: [LyVlementResolver()]
    })

    方式三:按需引入,需要插件

    ts-import-plugin/babel-plugin-import

    Install

    npm i @ly-js/vant

    DownloadsWeekly Downloads

    0

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    146 kB

    Total Files

    155

    Last publish

    Collaborators

    • lardliyi