vue-infinite-loading icon indicating copy to clipboard operation
vue-infinite-loading copied to clipboard

A conflict in infinity-scroll and vuejs documentations.

Open gavrashenko opened this issue 5 years ago • 2 comments

There is a conflict in infinity-scroll and vuejs documentations. It's said that I can hide default styles using v-slot on any elements but template ( https://github.com/PeachScript/vue-infinite-loading/blob/master/docs/guide/configure-load-msg.md#about-hide--default-styles ), but in vuejs docs we can find that it's impossible to add v-slot anywhere except template ( https://vuejs.org/v2/guide/components-slots.html#Named-Slots ). So, currently I don't know how to disable default slot styles, because all my tries to add v-slot to div/span/etc.. according to documentation will raise errors like:

Errors compiling template:

  v-slot can only be used on components or <template>.

Version

v2.4.5

Vue.js version

v2.6.11

gavrashenko avatar Aug 04 '20 07:08 gavrashenko

@gavrashenko did you find a solution to this yet?

smilerz avatar May 03 '21 15:05 smilerz

Hey, here's how I disabled for example noMore slot https://github.com/PeachScript/vue-infinite-loading/issues/80#issuecomment-866910028

Szymon-dziewonski avatar Jun 25 '21 14:06 Szymon-dziewonski