- Install qrcode.react in sysadmin_panel - Add QR Codes section above Remote Managers with two codes side by side: Menu QR (https://yourdomain.com/menu/{site_id}) and Order QR (https://yourdomain.com/menu/{site_id}/order) - Each card shows the URL as copyable text and a Download PNG button - Uses site.site_id as the slug (no slug field exists on the Site model) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
585 B
JSON
28 lines
585 B
JSON
{
|
|
"name": "sysadmin-panel",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.7.9",
|
|
"qrcode.react": "^4.2.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-hot-toast": "^2.4.1",
|
|
"react-router-dom": "^6.28.0",
|
|
"zustand": "^5.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"autoprefixer": "^10.4.20",
|
|
"postcss": "^8.4.49",
|
|
"tailwindcss": "^3.4.16",
|
|
"vite": "^6.0.5"
|
|
}
|
|
}
|