Skip to content

usage ::v-deep selector in vue 3 #1794

@ogulcankarayel5

Description

@ogulcankarayel5

There is no clue how to use ::v-deep selector for nested classnames in documentation. For example
I can migrate this code block to vue 3 according to documentation
vue 2

::v-deep {
    .table-footer-container {
      display: none ;
    }
  }

vue 3

:deep(.table-footer-container) {
    display: none 
  }

But I have no idea how to migrate this

::v-deep {
      .v-select {
        .vs__dropdown-toggle {
          background: #fff;
          border-color: #ddd;
        }
        &.vs--open {
          .vs__dropdown-toggle {
            border-color: #ff6000;
          }
        }
      }
    }

It would be better if there was a part about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions