N
Nuxt14mo ago
bnason

Types for AppConfig

I've having a hard time with useAppConfig() The only types that come through are for a ui key, nothing else shows up.
2 Replies
bnason
bnason14mo ago
This is an example of my config:
export default defineAppConfig({
ui: {
primary: 'blue',
gray: 'zinc',
},
search: {
groups: [
{
key: 'job',
label: 'Job',
commands: [
{ id: 'launch', label: 'Launch', to: '/job/launch' },
]
},
]
}
})
export default defineAppConfig({
ui: {
primary: 'blue',
gray: 'zinc',
},
search: {
groups: [
{
key: 'job',
label: 'Job',
commands: [
{ id: 'launch', label: 'Launch', to: '/job/launch' },
]
},
]
}
})
bnason
bnason14mo ago
Example autocomplete from VSCode
No description