![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
倾葵
这个作者很懒,什么都没留下…
展开
-
vue移动端使用console控制台
在index.html文件里面,把下面代码复制粘贴进去,就可以了```<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.9.1/vconsole.min.js"></script><script> // 初始化 var vConsole = new VConsole(); console.log('Hello world');</script>```...原创 2021-10-19 17:17:03 · 850 阅读 · 0 评论 -
vue实现淡入淡出效果
vue实现淡入淡出效果 <transition name="hehe"> 中间需要包住有v-if或v-show的div </transition>.hehe-enter,.hehe-leave-to { opacity: 0;}.hehe-enter-to,.hehe-leave { opacity: 1;}.hehe-enter-active,.hehe-leave-active { transition: all .2s;} ...原创 2021-03-17 14:58:21 · 4244 阅读 · 2 评论 -
在vue中使用less
1、安装lessnpm install -g less2、配置less路径build -> webpack.base.conf.js里面的module的rules内添加{ test: /\.less$/, loader: 'style-loader!css-loader!less-loader' }3、在页面里使用<style scoped lang="less"></style>如果报错:Module build failed: TypeError: loade原创 2021-03-11 16:37:37 · 72 阅读 · 0 评论