@vuepress-denaro/vuepress-plugin-smooth-scroll
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

vuepress-plugin-smooth-scroll

🎉 VuePress plugin for smooth scrolling.用于平滑滚动的 VuePress 插件.

npm version GitHub stars GitHub issues
jsdelivr NPM

Usage

  • Install
# npm
npm install @vuepress-denaro/vuepress-plugin-smooth-scroll

# yarn
yarn add @vuepress-denaro/vuepress-plugin-smooth-scroll
  • Update plugins in .vuepress/config.js or .vuepress/config.ts

js

const {
  smoothScrollPlugin,
} = require('@vuepress-denaro/vuepress-plugin-smooth-scroll')
module.exports = {
  plugins: [smoothScrollPlugin()],
}

ts

import { smoothScrollPlugin } from '@vuepress-denaro/vuepress-plugin-smooth-scroll'
import { defineUserConfig } from '@vuepress/cli'

export default defineUserConfig({
  plugins: [smoothScrollPlugin()],
})

Thanks

vuepress-plugin-smooth-scroll

Package Sidebar

Install

npm i @vuepress-denaro/vuepress-plugin-smooth-scroll

Weekly Downloads

3

Version

1.3.1

License

MIT

Unpacked Size

7.45 kB

Total Files

18

Last publish

Collaborators

  • vxhly