# randomFunction **Repository Path**: pcrpcr/random-function ## Basic Information - **Project Name**: randomFunction - **Description**: 随机写的功能,可能包含很多东西 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-15 - **Last Updated**: 2023-11-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 添加ts ### npm i typescript --save ## 路由 ### 文件结构 |--config // 环境配置 |--src |-- components 公共组件 |-- hooks 公共hook |-- Layout 全局布局组件 |-- router 路由模块 |-- index.tsx |-- initRouter.tsx 路由配置 |-- regRouterDom.tsx 路由注册 |-- regRouterLink.tsx 跳转路由 |-- routerType.ts 路由接收的类型