mirror of
https://github.com/handsomezhuzhu/2fa-tool.git
synced 2026-04-18 22:32:53 +00:00
feat: dynamically import jsQR for client-side only loading
Avoid server-side rendering issues with jsQR library. Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com>
This commit is contained in:
@@ -49,16 +49,16 @@ A pure frontend TOTP two-factor authentication tool with multiple token import m
|
||||
|
||||
**构建配置:**
|
||||
|
||||
```
|
||||
\`\`\`
|
||||
安装命令:npm install
|
||||
构建命令:npm run build
|
||||
静态资源目录:out
|
||||
Node.js 版本:20.x 或 22.x
|
||||
```
|
||||
\`\`\`
|
||||
|
||||
### 本地开发
|
||||
|
||||
```bash
|
||||
\`\`\`bash
|
||||
# 安装依赖
|
||||
npm install
|
||||
|
||||
@@ -67,7 +67,7 @@ npm run dev
|
||||
|
||||
# 构建
|
||||
npm run build
|
||||
```
|
||||
\`\`\`
|
||||
|
||||
## Security / 安全说明
|
||||
|
||||
|
||||
Reference in New Issue
Block a user