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

0.0.5 • Public • Published

@ly-js/scroll

@ly-js/scroll 是基于 vue3BetterScroll 组件库

Install

NPM

npm i @ly-js/scroll --save

YARN

yarn add @ly-js/scroll

pnpm

pnpm add @ly-js/scroll

Usage

方式一:全局引入

import LyScroll from '@ly-js/scroll'
import '@ly-js/scroll/lib/index.css'
createApp(App).use(LyScroll)

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

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

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

ts-import-plugin/babel-plugin-import

/@ly-js/scroll/

    Package Sidebar

    Install

    npm i @ly-js/scroll

    Weekly Downloads

    0

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    737 kB

    Total Files

    173

    Last publish

    Collaborators

    • lardliyi