轮播 vue3-seamless-scroll (vite+vue3)

1.官方地址 https://www.npmjs.com/package/vue3-seamless-scroll

2.安装

   npm   (npm install vue3-seamless-scroll --save)

  Yarn  (yarn add vue3-seamless-scroll)

  browser  (
)

3.全局注册

  import { createApp } from 'vue';
  import App from './App.vue';
  import vue3SeamlessScroll from "vue3-seamless-scroll";
  const app = createApp(App);
  app.use(vue3SeamlessScroll);
  app.mount('#app');
4.局部注册

5.具体使用



6.具体使用属性 请参考官网(1)

你可能感兴趣的:(vue,前端,javascript,html,vue.js)