Files
sundynix-site/admin
Blizzard 66cd194572 feat(admin): 交互打磨 — toast 提示 + 删除确认对话框
- 全局 toast:保存/删除成功失败即时反馈,替代静默保存
- 删除确认对话框替换 window.confirm,危险操作红色按钮
- 编辑保存成功 toast + 跳转列表

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-17 17:35:05 +08:00
..
2026-07-17 11:51:33 +08:00
2026-07-17 11:51:33 +08:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the Oxlint configuration

If you are developing a production application, we recommend enabling type-aware lint rules by installing oxlint-tsgolint and editing .oxlintrc.json:

{
  "$schema": "./node_modules/oxlint/configuration_schema.json",
  "plugins": ["react", "typescript", "oxc"],
  "options": {
    "typeAware": true
  },
  "rules": {
    "react/rules-of-hooks": "error",
    "react/only-export-components": ["warn", { "allowConstantExport": true }]
  }
}

See the Oxlint rules documentation for the full list of rules and categories.