1b15748d0d4db9eba7607809661557e35e6219f8
refactor(ChengduGamePage): replace manual WebSocket logic with composable hook - Replace manual WebSocket connection and state management with useChengduGameRoom composable - Remove unused imports and authentication related code - Simplify component by extracting room state logic into separate hook - Clean up redundant functions and variables that are now handled by the composable - Update component lifecycle to use the new composable's methods for connecting WebSocket and managing room state ```
Mahjong Web
This project uses Vue 3, TypeScript, Vite, and pnpm for package management.
Setup
Install dependencies:
pnpm install
Start the development server:
pnpm dev
Build for production:
pnpm build
Preview the production build:
pnpm preview
Description
Languages
Vue
70.1%
TypeScript
16.2%
CSS
13.4%
HTML
0.3%