# react-image-management **Repository Path**: cyanbleeze/react-image-management ## Basic Information - **Project Name**: react-image-management - **Description**: 基于react的图片管理系统前端 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-13 - **Last Updated**: 2024-06-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # React + TypeScript + Vite ## 一、仓库介绍 - 作者: - 数据库大作业-前端仓库 ## 二、目录 总体进度: | | | | | | ---- | ---- | ---- | ---- | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 工作完成情况: ## 三、快速入门 ubuntu20.04 node+npm+react+ts环境安装教程 ```bash # 更新软件包 sudo apt update # 安装必要包 sudo apt install nodejs npm # 检查安装 nodejs --version npm --v # 确认nodejs版本在18以上lts # 安装yarn npm install yarn # 切换到项目根目录,打开cmd yarn # 自动安装包 yarn dev # 启动项目 # 问题1:node版本过低(如此处为10。19.0),使用n包用于更新node版本 # 下载n sudo npm install n -g # 更新为node的稳定版本 sudo n stable # 根据提示,检查包的更新,或刷新 hash -r # or `rehash` node -v # 确认版本 ``` ## 四、开发者文档 This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. Currently, two official plugins are available: - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh ## Expanding the ESLint configuration If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: - Configure the top-level `parserOptions` property like this: ```js parserOptions: { ecmaVersion: 'latest', sourceType: 'module', project: ['./tsconfig.json', './tsconfig.node.json'], tsconfigRootDir: __dirname, }, ``` - Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` - Optionally add `plugin:@typescript-eslint/stylistic-type-checked` - Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list ## 五、源码下载 ## 六、示例教程 ## 七、如何参与 ## 八、许可协议 ## 九、联系方式 网站: 邮箱: