Skip to content

vue.use 和 vue.default.use问题导致报错 #249

@bighhhh

Description

@bighhhh

#192
这个议题里显示的已经解决找不到util问题了,但我这还是报类似的错误
微信截图_20231103095324
微信截图_20231103095546
我看.mjs中是没有default的判断的,而cjs中是加了判断的,但是我这代码编译后是使用的mjs文件代码,导致没有找default而找不到use函数
下面是编译后的我自己的代码
编译后

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