[Navigation menu] Some classes are not applied when using app.config.ts
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 1.1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 57
Description
Environment
- Operating System: Windows_NT
- Node Version: v20.18.2
- Nuxt Version: 3.15.4
- CLI Version: 3.21.1
- Nitro Version: 2.10.4
- Package Manager: yarn@4.6.0
- Builder: -
- User Config: compatibilityDate, future, app, colorMode, css, devtools, modules
- Runtime Modules: @nuxt/ui@3.0.0-alpha.12, @nuxt/eslint@1.0.1
- Build Modules: -
Is this bug related to Nuxt or Vue?
Nuxt
Version
3.0.0-alpha.12
Reproduction
https://codesandbox.io/p/devbox/nuxt-ui3-n3sxks
Description
according to docs, paddings for main items are set in slot "label".
adding different padding in this slot makes no difference
adding for example gap in the list slot makes a difference
!https://github.com/user-attachments/assets/6f559f69-8a49-4342-8ae8-fb173a85f0a0
It looks like template overrides are not fully working.
Additional context
No response
Logs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodeSandbox reproduction and inspect the navigation menu configuration in app.config.ts, focusing on the label and list slots. Compare the classes applied when padding is set on the label slot with the classes applied when gap is set on the list slot. Done means the documented slot overrides consistently affect the rendered menu.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, tailwindcss, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100