Object literal may only specify known properties, and 'ui' does not exist in type InputConfig
Hi there, I'm trying to specify icon packs to use with Nuxt UI. However, when I go to put them into my Nuxt config as specified in the Theming section of the docs (https://ui.nuxt.com/getting-started/theming#collections), TypeScript complains that
ui does not exist in type InputConfig ...
and, for some reason, Nuxt UI stops working (it was working before adding the ui
object.
Nuxt config:
3 Replies
Did you add this to
app.config.ts
or to nuxt.config.ts
I think the modules bit goes in nuxt
and the ui bit goes into app
https://nuxt.com/docs/guide/directory-structure/app-configNuxt
app.config.ts · Nuxt Directory Structure
Expose reactive configuration within your application with the App Config file.
I added it to nuxt, the docs say so
![No description](https://cdn.answeroverflow.com/1237772584809005116/zPKQM3W.png)