Files
training/website/package.json
T
Pine b05a606df8 feat(auth): 网站登录页支持四种登录(账号/短信/微信扫码/小程序扫码)
- Login.jsx 改四方式Tab,PollingQr 用 @rc-component/qrcode 渲染+轮询
- auth.js 加 wxQrStart/wxQrPoll/mpQrStart/mpQrPoll/applyAuthResult;auth.css 加 tab/code-row 样式
- package.json 加 @rc-component/qrcode(锁文件只提交 npm package-lock.json)
2026-08-25 22:47:46 +08:00

22 lines
481 B
JSON

{
"name": "opc-training-web",
"private": true,
"version": "0.1.0",
"type": "module",
"description": "OPC 培训体系 · 课程体系0.1 站点(React + 原子设计)",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@rc-component/qrcode": "^2.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.3.4",
"vite": "^5.4.11"
}
}