chore: initial project import

This commit is contained in:
justme committed 2026-10-04 21:46:39 +08:00
commit 26620707a0
347 files changed
+56172

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
// 同时启动展示端(5173)和管理端(5174/admin/);Ctrl+C 一起退出。
import { spawn } from 'node:child_process'
const children = ['display', 'admin'].map((name) => spawn('npm', ['run', 'dev', '-w', name], { stdio: 'inherit', shell: true }))
const stop = () => children.forEach((c) => c.kill())
process.on('SIGINT', stop)
process.on('exit', stop)