Douyin

screenshot of Douyin
vite
vue
less

Vue3 + Pinia 仿抖音,Vue 在移动端的最佳实践 . Imitate TikTok ,Vue Best practices on Mobile

Overview:

The douyin-vue project is a mobile short video application inspired by Douyin | TikTok. It aims to provide a smooth and native app-like experience on mobile devices using Vue and the latest Vue technology stack including Vue3, Vite5, and Pinia. The project stores data locally and intercepts API calls using the axios-mock-adapter library to return local JSON data, simulating real backend requests.

Features:

  • Mobile Optimization: Implements best practices for Vue on mobile devices.
  • Vue Technology Stack: Built using Vue3, Vite5, and Pinia.
  • Local Data Storage: Saves data locally and intercepts API calls for local JSON data.
vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

less
LESS

Less CSS is a dynamic stylesheet language that extends the capabilities of CSS, allowing developers to write cleaner, more modular, and reusable stylesheets with features like variables, mixins, and nested rules.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.