Skip to content

mhxy13867806343/vue-ts-wechatmoments

Repository files navigation

Vue TypeScript WeChat Moments

中文文档

A WeChat Moments clone built with Vue 3, TypeScript, and Vite.

Demo

🌟 Live Demo

GitHub Repository

🔗 vue-ts-wechatmoments

Features

Post Management

  • Create and publish posts with text, images, and videos
  • Quick publish with long-press
  • Draft auto-save
  • Multiple media upload support
  • Share posts with friends

Home Page Image

Interactions

  • Like/Unlike posts
  • View likes list
  • Comment on posts
  • Reply to comments
  • Emoji picker support
  • @mentions support
  • User profiles with activity history

Like Button Comments Share

Media Handling

  • Image preview with zoom
  • Video playback
  • Multiple image grid layout
  • Image compression

Image Grid 1 Image Grid 2 Image Grid 3 Image Grid 6 Image Grid 7 Image Grid 8

User Experience

  • Pull to refresh
  • Infinite scroll
  • Smooth animations
  • Responsive design
  • Time formatting (e.g., "2 hours ago")
  • Loading skeletons
  • User profile pages with stats and activity

Image Grid 4 Image Grid 5

User Profile

  • Basic user information display
  • Personal activity statistics
  • Following/Followers data
  • Activity history list
  • Integrated interaction features

Tech Stack

  • Vue 3.2
  • TypeScript
  • Vite
  • Vant UI
  • Pinia

Development

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

Project Structure

src/
  ├── components/     # Components
  ├── hooks/         # Custom hooks
  ├── store/         # Pinia store
  ├── types/         # TypeScript types
  ├── utils/         # Utility functions
  └── views/         # Page components

License

MIT

About

vue-ts-wechatmoments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published