laravel-vue-pagination: TypeError: Cannot create property 'default' on boolean 'true'
Hi, I am getting this error. Am I doing something wrong? Thanks.
[Vue warn]: Error in render: "TypeError: Cannot create property 'default' on boolean 'true'"
found in
---> <Pagination>
<User> at resources/js/components/User.vue
<Root>
TypeError: Cannot create property 'default' on boolean 'true'
at Proxy.resolveScopedSlots (app.js:69748)
at Proxy.render (app.js:18948)
at VueComponent.Vue._render (app.js:70386)
at VueComponent.updateComponent (app.js:70886)
at Watcher.get (app.js:71284)
at Watcher.run (app.js:71359)
at flushSchedulerQueue (app.js:71117)
at Array.<anonymous> (app.js:68845)
at flushCallbacks (app.js:68771)
Screen Shots:


About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (1 by maintainers)
check your vue version I have the same problem, used laravel-vue-pagination@2.2.0 and then resolved.
I am facing similar issue… has it been solved?
This seems like a bug with hot reloding components with new slot syntax. I have similar issue, but I don’t use this package.
Unfortunately not. @alirezaashrafi
Did you solved the problem? Because I have a similar problem @bskscmn
From Controller:
return User::latest()->with('roles')->paginate(2);