# uart_tool **Repository Path**: tom_code/uart_tool ## Basic Information - **Project Name**: uart_tool - **Description**: vue 串口工具 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-10 - **Last Updated**: 2025-11-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # React + TypeScript + Vite # 项目介绍 Electron + React + Redux + Material-UI 这是一个基于React + TypeScript + Vite的项目,用于开发桌面应用。 支持Windows、macOS和Linux。 ![项目截图](./doc/01.png) ## 依赖框架 - React 18 - TypeScript 5 - Vite 5 - Electron 28 ## 编译运行 - 开发模式:- 同时启动React开发服务器和Electron应用 ```bash npm run electron:dev ``` - 构建应用:- 构建生产版本的桌面应用 ```bash npm run electron:build ``` ## 教程参考 - [React + TypeScript + Vite](https://react.dev/learn/react-and-typescript) - [Electron + TypeScript + Vite](https://www.electronjs.org/docs/latest/tutorial/quick-start) ## Expanding the ESLint configuration If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules: ```js export default defineConfig([ globalIgnores(['dist']), { files: ['**/*.{ts,tsx}'], extends: [ // Other configs... // Remove tseslint.configs.recommended and replace with this tseslint.configs.recommendedTypeChecked, // Alternatively, use this for stricter rules tseslint.configs.strictTypeChecked, // Optionally, add this for stylistic rules tseslint.configs.stylisticTypeChecked, // Other configs... ], languageOptions: { parserOptions: { project: ['./tsconfig.node.json', './tsconfig.app.json'], tsconfigRootDir: import.meta.dirname, }, // other options... }, }, ]) ``` You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules: ```js // eslint.config.js import reactX from 'eslint-plugin-react-x' import reactDom from 'eslint-plugin-react-dom' export default defineConfig([ globalIgnores(['dist']), { files: ['**/*.{ts,tsx}'], extends: [ // Other configs... // Enable lint rules for React reactX.configs['recommended-typescript'], // Enable lint rules for React DOM reactDom.configs.recommended, ], languageOptions: { parserOptions: { project: ['./tsconfig.node.json', './tsconfig.app.json'], tsconfigRootDir: import.meta.dirname, }, // other options... }, }, ]) ```