- 昵称:51助手
- 博龄:6年8个月3天
- 粉丝:122
- 关注:108
- +关注
搜索
文章分类
博客档案
::v-deep usage as a combinator has been deprecated. Use :deep() instead.
摘要:原因新的vue3.0 单文件规范::v-deep写法已经被废弃了修改成 如下写法,不要加空格//报错 <style scoped> ::v-deep .demo{ background: yellow; } &l
vue3 Parameter 'XXX' implicitly has an 'any' type.
摘要:解决报错在tsconfig.json当中使用 “noImplicitAny”: false 或者 “strict”: false产生的原因:在TS中如果没有定义参数类型的话就会报这个信息。这是属于是JS的编码风格,但在TS当中,你需要给它赋上类型。
Vue3判断对象、数组是否为空
摘要:1JSON.stringify(evtValue)=='{}'2Object.keys(xxxx).length==0
Module not found: Error: Can't resolve 'sass-loader' in
摘要:解决:1、卸载node-sass(vue-cli在选择sass预处理的时候会默认优先使用dart-sass)npm uninstall node-sass2、安装sassnpm install sass -D3、安装sass-loadernpm install sass-loa
vue3路由安装配置
摘要:路由在安装脚首架时已经安装好了路由说明这里的参数很重要,仔细看完后,在使用的时候对于我们来讲是非常有意义的。createWebHashHistory(process.env. BASE_URL)hash 路由createWebHistoryhistory 路由createMemoryHistory带缓存 history
Component name
摘要:根目录下vue.config.js lintOnSave: false, //关闭eslint检查
vue 目录结构详解
摘要:项目简介基于 vue.js 的前端开发环境,用于前后端分离后的单页应用开发,可以在开发时使用 ES Next、scss 等最新语言特性。项目包含:基础库: vue.js、vue-router、vuex、whatwg-fetch编译/打包工具:webpack、babel、node-sass单元测试工具:karma、mocha、sinon-chai本地服务器:e
uniapp [微信小程序开发者工具] - initialize
摘要:[微信小程序开发者工具] x initialize开启服务端口搞定
[Intervention] Ignored attempt to cancel a touchend event with cancelable=false, for example because scrol
摘要:大概意思呢就是:一个有设置cancelable=false的touchmove事件和其他某个滚动的操作冲突了。解决方法在滚动标签加个css样式 touch-action: none;或全局加 *{touch-action: none;}
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-render
摘要:意思是,父组件传递给子组件的参数,子组件不能动态的修改此参数props:{ active:false},this.active = true; //这样写就会报错