vue-seamless-scroll icon indicating copy to clipboard operation
vue-seamless-scroll copied to clipboard

希望可以支持服务端渲染 nuxt.js

Open Brolly0204 opened this issue 5 years ago • 1 comments

找到这个个插件实现图片无缝滚动 费了很大劲儿 这么好的插件很难得,希望能够支持nuxt.js 服务端渲染

Brolly0204 avatar Nov 28 '19 07:11 Brolly0204

Use <client-only> for template

Like:

<client-only> <vue-seamless-scroll :data="currencies" :class-option="tickerOptions" class="seamless-warp2"> <div v-for="item in currencies" :key="item.name" class="news__currencies__item"> <span class="news__currencies__title">{{ item.name }}</span><span class="news__currencies__number __up">{{ item.price }}</span> </div> </vue-seamless-scroll> </client-only>

rayout avatar Nov 30 '19 13:11 rayout