I'm using Laravel 8 + inertia + vue 3
The active menu is not working for the nested links.
/users => I want to make it "active"
/users/1/edit ==> current
I tried the custom link in main.js. Its not working
import { createApp, h } from "vue";
const customLink = {
name: 'CustomLink',
props: ['item'],
render() {
return h('a', this.$slots.default())
}
}
I'm using Laravel 8 + inertia + vue 3 The active menu is not working for the nested links.
/users => I want to make it "active" /users/1/edit ==> current
I tried the custom link in main.js. Its not working import { createApp, h } from "vue"; const customLink = { name: 'CustomLink', props: ['item'], render() { return h('a', this.$slots.default()) } }
const app = createApp({}); app.component('custom-link', customLink)