Create steps component with vue3+inertiajs+laravel

UI Components for Vue
Post Reply
samir480
Posts: 1
Joined: 22 Aug 2023, 19:21

22 Aug 2023, 19:31

I am trying to create steps component.
first it is giving me error about router-link but it is fixed by adding this code :
.component("router-link", {
props: ["to","custom"],
template: `<Link :href="to"><slot/></Link>`,
})
after this it is giving me error about $route veriable error : "Property "$router" was accessed during render but is not defined on instance."
there are some dependency that inertia is not compliting so I need help with this.



Image

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

28 Aug 2023, 14:12

In the next versions, we are planning to remove vue-router support. You will not get such errors in the future and do not have to import vue-router.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests