【vue3】解决:::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead 的警告
参考文章:
vue3项目开源项目运行报错::v-deep usage as a combinator has been deprecated. Use :deep() instead.
解决:::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead 的警告问题

今天找了一个vue3.0开源项目,在运行的时候npm i报错
根据以上安装依赖成功
在运行的时候有报错::v-deep usage as a combinator has been deprecated. Use :deep() instead.
原因是:的vue3.0 单文件规范::v-deep写法已经被废弃了
需要将v-deep替换成 :deep('.类名){ css }即可
修改后,vue3 项目中的写法应是

【vue3】解决:::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead 的警告的更多相关文章
- django + vue3 解决跨越问题
django跨域 解决: https://yq.aliyun.com/articles/517215 vue3 跨越(此处没必要,django处理即可): https://blog.csdn.net/ ...
- Vue3解决ElementPlus Drawer或弹出对话框不生效的问题
第一时间检查你是否还在使用 :visible.sync="drawer" 来绑定事件框的隐藏和显示,vue3.0 已经更改为通过 v-model 来绑定事件框的显示与隐藏.
- 解决svn Key usage violation in certificate has been detected
ubuntu系统 #!/bin/shecho "This script will reconfigure subversion to work with certs correctly.&q ...
- [转]不完美解决V社游戏的中文支持问题
先安装安装文泉驿正黑:sudo apt-get install fonts-wqy-zenhei 然后sudo gedit /etc/fonts/conf.avail/25-wqy-zenhei.co ...
- Deep Models Under the GAN: Information Leakage from Collaborative Deep Learning
郑重声明:原文参见标题,如有侵权,请联系作者,将会撤销发布! arXiv:1702.07464v3 [cs.CR] 14 Sep 2017 以下是对本文关键部分的摘抄翻译,详情请参见原文. ABSTR ...
- ios之"performSelector may cause a leak because its selector is unknown"警告原因及其解决办法
问题描述 项目中使用到了从字符串创建选择器,编译时发现警告:"performSelector may cause a leak because its selector is unknown ...
- 课程一(Neural Networks and Deep Learning),第四周(Deep Neural Networks)——2.Programming Assignments: Building your Deep Neural Network: Step by Step
Building your Deep Neural Network: Step by Step Welcome to your third programming exercise of the de ...
- “Deep models under the GAN: information leakage from collaborative deep learning”阅读笔记
一.摘要 指出深度学习在机器学习场景下的优势,以及深度学习快速崛起的原因.随后点出研究者对于深度学习隐私问题的考虑.作者提出了一种强力的攻击方法,在其攻击下任何分布式.联邦式.或者中心化的深度学习方法 ...
- 解决Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'.
异常: Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj ...
- vue3中对于/deep/和::v-deep的警告信息处理
目前发现两处警告信息: ::v-deep usage as a combinator has been deprecated. Use :deep() instead. the >>> ...
随机推荐
- Django--数据管理系统
目录 Django--数据管理系统 数据库操作: python内对数据库的操作: 运行更新数据库.运行项目: 网页代码继承: 框架内代码: html网页代码: Django--数据管理系统 数据库操作 ...
- SciTech-BigDataAIML-NLP-TensorFlow-KerasNLP-预处理: tensorflow.keras.preprocess.{text, sequence}
KerasNLP API reference The easiest way to get started processing text in TensorFlow is to use KerasN ...
- SIP REG Digest认证算法分析
一.回顾SIP Register的认证过程 Client(通常是话机)向REG Server(一般是OpenSIPS或Freeswitch)发起REGISTER注册请求(注:此时发送的请求里,只有一些 ...
- Unity动态骨骼
教程 https://magicasoft.jp/en/mc2_bonespring_startguide/ 下载 https://download.csdn.net/download/u013898 ...
- unity代码编译时间分析工具
https://github.com/needle-tools/compilation-visualizer 工具2 Editor Iteration Profiler (EIP) 地址: https ...
- 使用 rsync-deploy-action 同步 Hexo 博客到个人服务器
前几天写了个基于 rsync 进行文件同步的 Action -> rsync-deploy-action.目的有三个: 1.深入了解波 GitHub Actions,感受下 GitHub 的文档 ...
- Qt5将可执行程序和动态库打包成可直接运行的程序
1.下载Engima Virtual Box 2.将要打包的可执行程序,编译成release版本,并将其复制到一个新的文件夹中 3.打开Qt5的命令行 4.命令行中,跳到拷贝到的可执行程序所在目录,敲 ...
- 项目中Spring Security
我在项目中使用到了Spring Security,记录一下使用的好处以及他的使用方法. 首先Spring Security是分为认证和授权两方面的,授权,我在项目中使用到的是JWT动态生成Token认 ...
- [题解]P2444 [POI2000] 病毒
P2444 [POI2000] 病毒 题目核心是多模式匹配,所以考虑用对所有模式串建立AC自动机. 我们把自动机上,存在一个模式串作为前缀的节点,称作"危险节点". 如果无限长的安 ...
- 搭建docker虚拟机测试服
一.需求分析 优点:测试服与正式服环境隔离,配置简单,多个开发者可以共用一个测试数据库和redis 二.安装镜像 因为正式服是装了宝塔面板,所以直接在宝塔面板上安装docker. 因为需要的虚拟机li ...