#Types for AppConfig

2 messages · Page 1 of 1 (latest)

magic plank
#

I've having a hard time with useAppConfig() The only types that come through are for a ui key, nothing else shows up.

#

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' },
                ]
            },
        ]
    }
})