N
Nuxt2y 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
bnasonOP2y 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
bnasonOP2y ago
Example autocomplete from VSCode
No description
Want results from more Discord servers?
Add your server