vue-tinder 介绍
仿造Tinder的vue组件,类似国内的探探、陌陌等APP的左右滑动卡片功能。
在 vue 后面加载 vue-tinder,它会自动安装的:
<script src="/path/to/vue.js"></script>
<script src="/path/to/vue-tinder.js"></script>
npm / Yarn
npm install vue-tinder --save
# or
yarn add vue-tinder
构建开发版
如果你想使用最新的开发版,就得从 GitHub 上直接 clone,然后自己 build 一个 vue-tinder。
git clone https://github.com/shanlh/vue-tinder.git node_modules/vue-tinder
cd node_modules/vue-tinder
npm install
npm run build
网站地址:https://shanlh.github.io/vue-tinder
GitHub:https://github.com/shanlh/vue-tinder
网站描述:类似探探、陌陌左右滑动的vue组件
vue-tinder
官方网站:https://shanlh.github.io/vue-tinder
小编说
以上是编程之家为你收集整理的vue-tinder全部内容。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。