Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

754
Views
laravel vue pagination Property "$createElement" was accessed during render but is not defined on instance

I am trying to use laravel vue pagination on my vue3 typescript app

https://github.com/gilbitron/laravel-vue-pagination

I have installed the library and registered it on my index.ts

<template>
   <div>
    <table>
    <tr v-for="(hub, index) in hubs" :key="index">
      <td>{{ index + 1 }}</td>
      <td>{{ hub.name }}</td>
     <td>{{ hub.contact_address }}</td>
    </tr>
   </table>
    <pagination :data="hubs" @pagination-change-page="getResults"></pagination>
   </div>
</template>

Javascript

<script lang="ts">
export default {
  name: "AllHubs",
  setup() {
   let hubs = {}
 onMounted(() => {
      getResults();
    });

    const getResults = (page = 1) => {
      Admin.getAllHubs(1)
        .then((response) => {
          hubs = response.data;
        })
        .catch((error) => {

        })
        .finally(() => {

        });
    };
}

Error

[Vue warn]: Property "$createElement" was accessed during render but is not defined on instance. 
  at <AllHubs onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > 
  at <RouterView> 
  at <Index onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > > 
  at <RouterView> 
  at <App>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!