gilbitron / laravel-vue-pagination

A Vue.js pagination component for Laravel paginators
https://laravel-vue-pagination.org
MIT License
750 stars 144 forks source link

app.js:109006 Uncaught TypeError: Object(...) is not a function #136

Closed felloz closed 2 years ago

felloz commented 2 years ago

Describe the bug

  1. I installed the library, then imported in my app.js as you explain in the documentation.
  2. I ran npm run watch and compiled succesful
  3. I refresh the url in the webroser 4.Got the next error:

image

Version information (please complete the following information):

MATOVUJOELCLINTON commented 2 years ago

i got the same error after installing it in

it seems you can't use it as a Global component in app.js file

gilbitron commented 2 years ago

Laravel Vue Pagination v3 is only compatible with Vue 3. If you are using Vue 2 please use Laravel Vue Pagination v2. However, please note that v2 is no longer actively maintained.