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.
Create steps component with vue3+inertiajs+laravel
-
- Posts: 560
- Joined: 23 Oct 2020, 09:28
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.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests