添加项目基础文件结构、路由配置、API接口和核心组件 实现登录认证、权限控制、WebSocket通信等基础功能 引入antd-mobile UI组件库和Vite构建工具 配置TypeScript、ESLint、Prettier等开发环境 添加移动端适配方案和全局样式 完成首页、工作台、个人中心等基础页面框架
15 lines
299 B
TypeScript
15 lines
299 B
TypeScript
import React from "react";
|
|
import AppRouter from "@/router";
|
|
import UpdateNotification from "@/components/UpdateNotification";
|
|
|
|
function App() {
|
|
return (
|
|
<>
|
|
<AppRouter />
|
|
<UpdateNotification position="top" autoReload={false} showToast={true} />
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default App;
|