ISOREX
ISOREX
NNuxt
Created by ISOREX on 7/29/2024 in #❓・help
Route children with just a directory instead of a parent route
Though typing that out it does feel quite... ugly
24 replies
NNuxt
Created by ISOREX on 7/29/2024 in #❓・help
Route children with just a directory instead of a parent route
I'm not sure how that would make things easier. I was thinking to just track the nesting level and only allow items to show based on how many slashes its route has
24 replies
NNuxt
Created by ISOREX on 7/29/2024 in #❓・help
Route children with just a directory instead of a parent route
That would just give me a list of all the children right?
24 replies
NNuxt
Created by ISOREX on 7/29/2024 in #❓・help
Route children with just a directory instead of a parent route
Sorry, I meant getRoutes yes
24 replies
NNuxt
Created by ISOREX on 7/29/2024 in #❓・help
Route children with just a directory instead of a parent route
Basically how to prevent this from happening
24 replies
NNuxt
Created by ISOREX on 7/29/2024 in #❓・help
Route children with just a directory instead of a parent route
So that would be the best way of handling that issue then. Do you happen to have a suggestion on how to have the children only show up as children in the getAllRoutes()?
24 replies
NNuxt
Created by ISOREX on 7/29/2024 in #❓・help
Route children with just a directory instead of a parent route
Yeah that is what I was thinking as well
24 replies
NNuxt
Created by ISOREX on 7/29/2024 in #❓・help
Route children with just a directory instead of a parent route
Correct. The parent is there to basically group the children
24 replies
NNuxt
Created by ISOREX on 7/29/2024 in #❓・help
Route children with just a directory instead of a parent route
Yeah that is how I'm currently doing it, but just using a .ts file for the parents since it will have no content anyway
24 replies
NNuxt
Created by ISOREX on 7/29/2024 in #❓・help
Route children with just a directory instead of a parent route
No description
24 replies
NNuxt
Created by ISOREX on 2/26/2024 in #❓・help
Nuxt UI - Custom tailwind color palettes do not seem to work.
Restarting Vite seems to have solved this, only not for overwriting the primary color set. I assume because Nuxt is already using this. Is there a solution for this?
3 replies
NNuxt
Created by ISOREX on 2/26/2024 in #❓・help
Nuxt UI - Custom tailwind color palettes do not seem to work.
What's strange to me is how when I rename beta to secondary both app.config.ts for the Nuxt UI color and just regular tailwind seems to recognize the color.
3 replies