# react-vite **Repository Path**: fanmixue/react-vite ## Basic Information - **Project Name**: react-vite - **Description**: 使用react17.x + vite2.x 搭建而成,基础设施已整好,剩下业务按照实际场景进行开发即可; - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2022-03-22 - **Last Updated**: 2022-06-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # react-vite 使用react17.x + vite2.x 搭建而成,基础设施已整好,剩下业务按照实际场景进行开发即可; # 目录结构 ``` ├── build // 构建相关 ├── config // 系统配置 │ ├── index.jsx // 项目配置相关 │ └── menu.jsx // 菜单配置 │ └── storage.jsx // 本地存储统一处理 ├── src // 源代码 │ ├── assets // 图片、样式及字体等静态资源 │ ├── components // 全局公用组件 │ ├── layout // 布局 │ ├── router // 路由 │ ├── store // 全局 store管理 │ ├── utils // 全局公用方法 │ ├── pages // view视图 │ ├── main.jsx // 入口 加载组件 初始化等 │ └── favicon.ico // 图标 ├── index.html // 入口页面 ├── .env // 开发环境配置 ├── .env.prod // 生产环境配置 ├── .eslintignore // 忽略语法检查 ├── README.md // 项目说明 ├── .gitignore // git 忽略项 ├── yarn.lock // yarn.lock ├── package.json // package.json └── vite.config.js // vite配置文件 ``` # 安装 ```bash yarn intall ``` # 启动 ``` yarn dev ```