Vue3 + Pinia 仿抖音,Vue 在移动端的最佳实践 . Imitate TikTok ,Vue Best practices on Mobile
Go to file
2024-04-27 02:31:27 +08:00
.github refactor: update workflow 2024-04-20 17:00:47 +08:00
.husky feat: add 2024-04-05 02:25:00 +08:00
docs refactor: update README.md 2024-04-26 10:12:43 +08:00
env refactor: Compress pictures and evade some pages censorship 2024-04-20 03:08:51 +08:00
node refactor: update workflow 2024-04-20 16:07:09 +08:00
public refactor: remove jquery 2024-04-23 15:37:55 +08:00
src refactor: solve the mute problem 2024-04-27 02:31:27 +08:00
.eslintrc.cjs feat: add typescript support 2024-04-06 02:35:49 +08:00
.gitignore feat: add typescript support 2024-04-06 02:35:49 +08:00
.prettierrc.json pretty再次格式化所有文件 2024-04-02 15:40:18 +08:00
CNAME Create CNAME 2024-04-20 15:17:58 +08:00
commitlint.config.ts refactor: format code 2024-04-06 02:46:14 +08:00
env.d.ts refactor: solve the mute problem 2024-04-27 02:31:27 +08:00
index.html feat: add typescript support 2024-04-06 02:35:49 +08:00
LICENSE docs: update readme.md 2024-04-05 14:30:04 +08:00
netlify.toml 添加netlify缓存配置 2024-04-03 23:51:47 +08:00
package.json refactor: solve the mute problem 2024-04-27 02:31:27 +08:00
pnpm-lock.yaml refactor: solve the mute problem 2024-04-27 02:31:27 +08:00
README.md refactor: update README.md 2024-04-26 10:12:43 +08:00
tsconfig.app.json refactor: solve the mute problem 2024-04-27 02:31:27 +08:00
tsconfig.json feat: add typescript support 2024-04-06 02:35:49 +08:00
tsconfig.node.json feat: add typescript support 2024-04-06 02:35:49 +08:00
vercel.json fix: vercel&netlify refresh error 2024-04-03 22:26:06 +08:00
vite.config.ts refactor: solve the mute problem 2024-04-27 02:31:27 +08:00

Douyin-Vue

English | Spanish | German | French | 简体中文 | 日本語

License

douyin-vue 是一个模仿 抖音|TikTok 的移动端短视频项目完全度90%。使用了最新的 Vue 全家桶技术栈,它基于 Vue3Vite5Pinia实现。数据保存在项目本地,视频采集自抖音|TikTok,图集采集自小红书|Xiaohongshu,通过 axios-mock-adapter 库拦截Api 并返回本地json数据模拟真实后端请求

在线访问

Gitee pages: https://zyronon.gitee.io/douyin/ (中国地区推荐访问这个地址)
Github pages: https://zyronon.github.io/douyin/

链接

【douyin-vue】一200行代码实现类似Swiper.js的轮播组件
【douyin-vue】二实现抖音 “视频无限滑动“效果
更多文章正在准备中...

运行

注意:本项目仅适用于学习和研究,不得用于商业使用

快速部署至Vercel

Deploy with Vercel

本地开发

git clone https://github.com/zyronon/douyin.git
cd douyin
npm install
npm run dev

打开浏览器并访问: http://127.0.0.1:3000

注意:需要将浏览器切至手机模式,先按 F12 调出控制台,再按 Ctrl+Shift+M 才能正常预览

数据来源

视频来源于以下抖音网红

图片来自于小红书公开笔记

以上内容均是互联网公开信息

功能与建议

目前项目处于开发初期,新功能正在持续添加中,如果你对软件有任何功能与建议,欢迎在 Issues 中提出 如果你也喜欢本软件的设计思想,欢迎提交 PR,非常感谢你对我们的支持!

联系我

您可以联系我的邮箱 zyronon@163.com

分享我其他开源项目:

**Typing Word ** - 可在网页上使用的背单词软件~
**Web Scripts ** - 一些好用的油猴脚本~

许可协议

GPL