Hello,
First I would like to say that this component is simply fantastic, really good job!
I'm not very experienced with VUE.JS and Inertia, this is my first system with both.
The side menu is working perfectly, with only two problems.
1 - When the menu is collapsed, if I click on any item, after loading the page the menu comes back open.
2 - I can't in any way mark the menu item as active.
Here are some parts of my code.
Sidebar.vue
Hello, First I would like to say that this component is simply fantastic, really good job! I'm not very experienced with VUE.JS and Inertia, this is my first system with both. The side menu is working perfectly, with only two problems. 1 - When the menu is collapsed, if I click on any item, after loading the page the menu comes back open. 2 - I can't in any way mark the menu item as active. Here are some parts of my code. Sidebar.vue
app.js
I appreciate any help, and if possible, any example of how I can adjust the component to meet these two points mentioned. PS. I use tailwind.