::v-deep is not working

This issue has been created since 2022-07-27.

Version

2.7.8

Reproduction link

codesandbox.io

Steps to reproduce

look at the .Vue components and the result tab

What is expected?

::v-deep is working

What is actually happening?

::v-deep is not working


I got projects and v-deep is working. don't know why it's not working on this one. I don't think I'm doing wrong on the sandbox, am I?

donaf wrote this answer on 2022-07-28

In you demo, in package.json , i have not see any dependencies about sasssass-loader
if you want to use like this:

<style lang="scss" scoped>
::v-deep .h3 {
  color: blue !important;
}
</style>

you'll need to install sass-loader

yarn add -D sass-loader sass

or, you can use as this:

<style  scoped>
>>> .h3 {
  color: blue !important;
}
</style>
handhikadj wrote this answer on 2022-07-28

thanks for responding. still not working anyway: https://codesandbox.io/s/distracted-panna-t1xvx6

yixiu025 wrote this answer on 2022-07-28

image
image
I tried it and found that this is the result, but I don't know why, looking forward to the reply from God...

JC-Guy wrote this answer on 2022-08-08

use :deep() instead. e.g. :deep(.el-card__body){ width: 200px; }

yyx990803 wrote this answer on 2022-08-19

CodeSandbox does not correctly support Vue 2.7. Don't use it for reproducing issues.

::v-deep is working correctly in local Vue CLI or Vite based projects.

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-09-27
Star Count 199644
Watcher Count 6098
Fork Count 32848
Issue Count 587

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Update General.jl to reflect new ownership 0 2022-05-05 2022-08-11
Obscenely slow prediction 6 2022-05-11 2022-08-11
Compat Helper PR's not tripping CI 0 2022-06-10 2022-08-11
In the Per-FedAvg experiments, there is always an unignorable gap between the accuracy of the actual experimental results and the expected accuracy provided under the same conditions. 5 2021-07-12 2022-09-23
环境已搭建好,但是这个软件怎么使用呢? 3 2020-05-04 2022-01-16
switching windows through winium 0 2021-10-04 2022-09-07
Links on the main page don't work 0 2022-01-31 2022-09-17
请问,云函数显示调用成功就是可以了吗? 2 2021-11-10 2022-01-13
Confusion regarding Hermes `clear_interval` feature 0 2022-07-25 2022-09-22
I dont know how to open the game. index.html isnt working? 2 2021-04-04 2022-09-26
4.3. Controller to Authorization Server Interactions - confidential clients? 0 2021-03-01 2022-09-23
ValidationException while querying as example 0 2022-02-18 2022-09-23
Alive Progress with jupyter notebooks 22 2019-10-25 2022-09-01
Blinking in Flutter 2.8 6 2021-12-16 2022-09-23
mostly wiki 5 2021-07-19 2022-01-15
Mechanism to distribute C source of some functions (perf JIT low level Python code using objects implemented with HPy) 5 2021-12-13 2022-07-20
Provide better diagnostics for the debug mode 1 2021-12-02 2022-09-22
Can't seem to be able to disconnect fluix\smart cable connections 7 2021-12-14 2022-08-12
Missing documentation for 2021.7 version 0 2021-08-04 2022-09-26
Where to place the config.toml file in MacOS? 1 2021-01-20 2022-08-23
Third-party client login with GR API that starred item number indicator would stay at 10000 forever 2 2022-01-26 2022-07-31
Crash report: `Error: Invariant failed` 1 2021-10-12 2022-07-27
Trying to initialize dynamically sized SSBO 1 2021-03-10 2022-09-23
[Tune] PBT saving trial and continue training with the trial may race 1 2021-11-30 2022-09-17
[Bug] Executing tasks is slow on windows 3 2021-12-02 2022-09-17
Edit DNS challenge credentials 3 2021-08-13 2022-08-26
This is an emergency. Could you please purge/flush cdn. 13 2021-09-22 2022-09-21
[Bug] regression: deck search: scroll to current deck in statistics 23 2021-11-20 2022-09-01
fzf_writer.grep empty with ripgrep 13.0.0 2 2021-06-16 2022-09-15
Content-length in header cause Request Failed - Related -https://github.com/pact-foundation/pact-jvm/issues/255 3 2022-04-28 2022-09-07
Automated cherry pick of #1965 0 2021-12-10 2022-01-22
Couldn't start forwarding DNS server: listening to udp socket: listen udp [fe80::c204:be4:e85f:5327]:53: bind: invalid argument 1 2022-09-21 2022-09-25
Distinct Count Aggregation in LogQL 3 2022-01-07 2022-09-01
Crashing in xaml files 3 2021-09-15 2022-07-28
fix(deps): update dependency globby to v12 - autoclosed 0 2021-07-22 2022-01-25
Paste in Text deletes previous tabs 0 2022-01-10 2022-08-11
How to decide on maxRequests in QoSFilter? 5 2022-01-10 2022-09-13
Add ct.css 3 2021-10-07 2022-01-09
com.example.translate.BatchTranslateTextWithModelTests: testBatchTranslateTextWithModel failed 1 2022-08-03 2022-09-16
The network connection was lost 3 2021-07-20 2022-09-18
Update winget-create parsing logic to detect portable apps 0 2022-07-01 2022-09-23
GraphQL code blocks on https://hasura.io/docs lost formats 6 2021-04-09 2022-09-14
New Settings view Carb ratios & ISF: saving new entries 1 2020-10-13 2022-08-31
LWG-3648 `format` should not print `bool` with `'c'` 0 2022-02-08 2022-09-07
How can I unzip IIT CDIP dataset 1 2021-08-16 2022-09-05
Add Prelude.ard to External Libraries 1 2021-03-19 2022-09-17
Why are tensors used after they are freed in a gpu sync operation? 0 2022-08-31 2022-09-17
[kibana] optionally disable SA token automount (#1301) 2 2021-12-14 2022-09-07
App install data not showing up in events manager 3 2022-04-17 2022-09-26
Using String Tools to intern strings in ProjectRootElement cache 0 2022-08-08 2022-09-04