Skip to content

Exclude routes/print mode #774

@RyanMulready

Description

@RyanMulready

We are using the Vite Plugin installation method and have a use case where certain routes are for printing only(no interaction); details/uuid/print. On these routes the dev tool still attaches itself resulting in the icon showing up.

It's a minor inconvenience but I was surprised there wasn't some way of handling this. Our current solution is to just hide it using CSS

@media print {
  #__vue-devtools-container__ {
    display: none;
  }
}

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