- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 加入swiper抖动的解决方法
写轮播 图的时候,会出现抖动现象比如,像这样先出下面的文字元素然后出现图片,撑开图片现在在的盒子解决方法,先把图片写成100%宽,然后写个padding撑开高度,不建议用height,因为height...
2021-04-19 18:03:56
877
1
原创 vue-cli引入iconfont报错These relative modules were not found: ./iconfont/iconfont.eot?t=1618541751892 in
我在引入iconfont的时候报错说:These relative modules were not found:./iconfont/iconfont.eot?t=1618541751892 in ./node_modules/css-loader??ref–6-1!./node_modules/postcss-loader/lib??ref–6-2!./src/assets/styles/iconfont.css./iconfont/iconfont.svg?t=1618541751892 i
2021-04-16 15:26:40
751
原创 This dependency was not found: * .components/Header in ./node_modules/babel-loader/lib!./node_modul
我的是报的这个文件是错的This dependency was not found:.components/Header in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/pages/home/home.vueTo install it, you can run: npm install --save .components/Heade
2021-04-16 10:08:33
1027
原创 vue-cli安装fastclick报错
我今天吧fastsclick包安装进vue-cli依赖中的时候,报错提示说$ npm install fastclick --savenpm ERR! code ENOTFOUNDnpm ERR! errno ENOTFOUNDnpm ERR! network request to https://registry.npm.taobao.org/fastclick failed, reason: getaddrinfo ENOTFOUND registry.npm.taobao.orgnpm E
2021-04-15 20:25:09
258
原创 vue-cli中使用stylus报错this.getOptions is not a function
我只要引入stylus,就会报看了别的解决方案试过去eslintrc.js写依赖进去,没成功,最后卸载了自己现在的stylus-loader版本,安装了个新版本:解决方案,去当前项目的命令里边:1、先卸载当前版本cnpm uninstall stylus-loader2、安装别的版本cnpm i stylus-loader@3.0.2 -S然后就可以继续快乐了最后附上别人整理好的官方文档https://blog.csdn.net/weixin_45304927/article/d
2021-04-13 12:25:01
832
原创 **两个div进行transition过度,结果发现无效的解决方法**
首先,我们得先知道一个基础前提。1、Vue 提供了 transition 的封装组件,这个组件里边可以给任何元素和组件添加进入/离开过渡,在进入/离开的过渡中,会有 6 个 class 切换。(具体可参考:https://cn.vuejs.org/v2/guide/transitions.html)官方给的图是这样的:换个好看点的(这是在网上找的比较好看的图,fade可以当成v一样去看)1)、首先第一任(v-enter/v-leave)会先出现,然后中间消失了,出现了个第二任(v-enter-t
2021-04-08 16:28:07
592
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人