XuqmGroup-Vue3SDK-Demo/vite.config.ts
徐勤民 28c1110344 feat: initial Vue3 SDK Demo application
- Login page with quick user selection
- Real-time chat with WebSocket (STOMP)
- Conversation/friend/group list sidebar
- API test console with operation logs
- Integration with local dev environment
2026-04-30 16:59:06 +08:00

18 行
364 B
TypeScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': resolve(__dirname, 'src'),
'@xuqm/vue3-sdk': resolve(__dirname, '../XuqmGroup-Vue3SDK/src/index.ts'),
},
},
server: {
port: 5173,
host: true,
},
})