Jan
Jan
NNuxt
Created by Jan on 6/22/2024 in #❓・help
NuxtLink missing active class when sub-path is open.
nvm. Sometimes you just need to ask the question to find the solution yourself.
2 replies
NNuxt
Created by Jan on 4/16/2024 in #❓・help
pass data from child component to parent
Thanks, works great
6 replies
NNuxt
Created by Jan on 3/14/2024 in #❓・help
Link activeClass for subPaths
At least it works now :D. But I find it quite difficult to change the thinking from just using JS to get my functionallity to using methods provided by nuxt and vue.
6 replies
NNuxt
Created by Jan on 3/14/2024 in #❓・help
Link activeClass for subPaths
Here is the component i tried to use:
export default defineNuxtLink({
componentName: "PolarisLink",
activeClass: "text-toronto font-bold",
exactActiveClass: "text-toronto font-bold"
});
export default defineNuxtLink({
componentName: "PolarisLink",
activeClass: "text-toronto font-bold",
exactActiveClass: "text-toronto font-bold"
});
Just settled on using the NuxtLink now. As it works perfectly fine.
6 replies
NNuxt
Created by Jan on 3/14/2024 in #❓・help
Link activeClass for subPaths
So that is interesting. I was trying to use this custom component for the link, so that the styling only effects specific links, but that did not work. When using just NuxtLink itself and styling the default classes it works fine.
6 replies
NNuxt
Created by Jan on 3/14/2024 in #❓・help
Link activeClass for subPaths
The classes are properly set on the a tag for Installed, but there are no classes set at the a tag for Modules. But if i go to just /modules, it is setting the classes for the a Tag with modules perfectly fine.
6 replies
NNuxt
Created by Jan on 3/14/2024 in #❓・help
Link activeClass for subPaths
No description
6 replies