Skip to content

请问下,加载本地html,js使用type= module ,提示如下错误,怎么解决?有人遇到过吗 #1070

@xiaomomoni

Description

@xiaomomoni

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.

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