Skip to content

Nuxt Auto Imports are messed up in <template> #42

@lupus78

Description

@lupus78

When I enabled this module, TS will highligh all by uilts/* function calls and $config $router globals.

Property '******' does not exist on type 'CreateComponentPublicInstanceWithMixins<Readonly....
image

image

After some digging, I found this comment, what might help: nuxt/nuxt#28707 (comment)

What is causeing this issue?
BTW, the app works is both dev and build, it's just a warning, but nonetheless I'd like to get rid of all red hightlights :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions