vue脚手架中运用animate.css(4.* 版本)

这篇博客介绍了如何在Vue CLI项目中安装和使用animate.css的4.x版本。首先,通过yarn或npm添加和移除animate.css库。接着,导入animate.css并使用Vue的use方法来应用。最后,重启项目并按照animate.css的官方规则添加动画效果。
摘要由CSDN通过智能技术生成

vue脚手架中运用animate.css(4.* 版本)

yarn add animate.css(添加)/ yarn remove animate.css(删除)

https://blog.csdn.net/yunchong_zhao/article/details/107207600

在这里插入图片描述

Vue-cli

  1. 安装 npm i animate.css@3.7.2 yarn add animate.css@3.7.2
    npm install animate.css

  2. 导入
    //引入animate.css
    import animated from ‘animate.css’
    //使用animated
    Vue.use(animated)

    3.重新启动项目 npm run serve / yarn serve

    4.按官网规则使用

https://www.worldlink.com.cn/osdir/animatecss.html
https://www.cnblogs.com/fang-1207/p/animationfang.html

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值