Vishnx2715/AEGIS_AI
GitHub: Vishnx2715/AEGIS_AI
一个基于 AI 的危机应急响应指挥中心仪表盘应用,帮助应急团队通过实时分析和交互式可视化进行事件监控与资源调度。
Stars: 0 | Forks: 0
# React + TypeScript + Vite
此模板提供了一个最小化的配置,使 React 能够在 Vite 中运行,并支持 HMR 以及一些 Oxlint 规则。
目前提供两个官方插件:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) 使用 [Oxc](https://oxc.rs)
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) 使用 [SWC](https://swc.rs/)
## React Compiler
由于对开发和构建性能的影响,此模板未启用 React Compiler。要添加它,请参阅[此文档](https://react.dev/learn/react-compiler/installation)。
## 扩展 Oxlint 配置
如果您正在开发生产级应用程序,我们建议通过安装 `oxlint-tsgolint` 并编辑 `.oxlintrc.json` 来启用类型感知的 lint 规则:
```
{
"$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 }]
}
}
```
有关规则和类别的完整列表,请参阅 [Oxlint 规则文档](https://oxc.rs/docs/guide/usage/linter/rules)。
标签:HTTP/HTTPS抓包, React, Syscalls, TypeScript, Vite, 人工智能, 安全插件, 应急响应管理, 态势感知, 用户模式Hook绕过, 自动化攻击