Skip to content

devtools-overlay.css does not work unless explicitly loaded with Accept=text/css #957

@spthiel

Description

@spthiel

Description

When running an instance of the vue devtools with any form of proxy that modifies or omits the "Accept" header, the vue devtools will not work.

Expected behavior

Since vite transforms css files to javascript modules when requested without the text/css header, the css should be imported as module instead of being added to the dom on the fly.
This would prevent issues with proxies

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