A WeChat Moments clone built with Vue 3, TypeScript, and Vite.
- 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
- Like/Unlike posts
- View likes list
- Comment on posts
- Reply to comments
- Emoji picker support
- @mentions support
- User profiles with activity history
- Image preview with zoom
- Video playback
- Multiple image grid layout
- Image compression
- 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
- Basic user information display
- Personal activity statistics
- Following/Followers data
- Activity history list
- Integrated interaction features
- Vue 3.2
- TypeScript
- Vite
- Vant UI
- Pinia
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
src/
├── components/ # Components
├── hooks/ # Custom hooks
├── store/ # Pinia store
├── types/ # TypeScript types
├── utils/ # Utility functions
└── views/ # Page components
MIT