Skip to content

新建vue文件报错 #25

@amazingliyuzhao

Description

@amazingliyuzhao

当在view 里面新建一个文件夹,然后新建一个vue文件时候,ts 会提示错误,首次编译没有问题,当npm run dev启动一次后,再执行新建文件操作,比如 view/testPage/index.vue,里面直接copy一份src/views/home/index.vue的代码,会有各种ts的报错,autoImport 识别不了,感觉tsconfig的内容不会对新建的vue 文件生效,不知道是缓存还是什么,我这里100% 复现

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions