-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slot and spinner not working when using vue@2.1.7 #30
Comments
Could you paste your code of template here? |
|
The
<infinite-loading :on-infinite="onInfinite" spinner="spiral" ref="infiniteLoading"></infinite-loading>
<infinite-loading :on-infinite="onInfinite" :spinner="'spiral'" ref="infiniteLoading"></infinite-loading>
<infinite-loading :on-infinite="onInfinite" :spinner="spinnerType" ref="infiniteLoading"></infinite-loading>
<!-- You must set the spinnerType in your script code --> |
To this day, I received three issue about the same problem, but I didn't found the reason because of it still running well when I using So I think it's a special and important problem in some special environment, I need your help to find the real reason @altinselimi @dinho-afsn @icyfire. First of all, I think we should to repeat the problem in JsFiddle, what do you think? |
here my site http://afsn.tk/takao/ view return in vuetools distance: 100 prop See that in vuetools it appears computed as spiral here my component http://pastebin.com/94juVv5H |
@dinho-afsn Thanks, I found the problem in your site. Which build tool did you used? And does this problem only appear in |
I use the elixir to generate my app.js. My application is hybrid. my gulp file: const elixir = require('laravel-elixir'); elixir(mix => {
}); |
Okay, but I have never used elixir, I need to try it base on your configurations. |
I'm having the same issue, laravel project too, but i'm using webpack directly:
Maybe is related to vue-loader.
|
I use the Webpack + vue-loader. |
为什么没有下拉刷新 |
Which |
I tried to match your package.json, but it always returns undefined. "babel-core": "^6.7.7", |
Now delete the folder node_modules, I will remove everything and try again from 0 |
It's very weird, did you try to clone this repository and run it? @dinho-afsn |
Yes, I did it and it works. They are certainly package dependencies. |
What I noticed is that in the next package, you do not use vue-infinite-loading in your package.json, why? |
Will not be some problem in the npm repository version? |
I have never install |
My lock file if it helps: |
I'll do the same here to test it. |
我的vue-loader是10.0.2版本。我直接用你的源码作为component引入的话是正常的。 |
Did you use the |
No, the webpack version i use is 1.14.0. @PeachScript |
Thanks, I try to repeat this problem now, please tell us if you have any progress about this issue :P @icyfire |
I found the real reason just now, it be cause by the breaking changes in the v2.1.7 of Thank you all! @altinselimi @dinho-afsn @icyfire |
I have been release a new version v2.0.0-rc.5 to fix this problem, you can upgrade it with |
I will close this issue, you can reopen it if this problem still exist. |
Hi,
I'm using vue@2.1.7 and vue-infinite-loading@2.0.0-rc.4, and instead of getting the spinner while loading the content, im getting a text "undefined". Everything else works fine. What could be the culprit ?
Thanks.
The text was updated successfully, but these errors were encountered: