Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

/deep/ selector #57

Open
Open
@adrianoresende

Description

@adrianoresende

Very good the guide.

I would like to know your opinions about/deep/ selector.

It turns out that the father needs a change in the child only in the visual. I do not know if this violates FIRST.

This feature is implemented in 12.2.0 (vue-loader) May 2017
Issue:vuejs/vue-loader#661

I like this feature because it avoids increasing the code in the child components.
For example, create aprops in the child just to increase the space (margin/padding) instyle inline and then one moreprops to change other styles. It does not sound good to me.

/deep/ selector example:

<template>    <icon name="phone" /></template><style scoped>    .link:hover /deep/ .icon svg {        fill: white;    }</style>

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp