( 更推荐 => https://github.com/biugle/web_base )-基于 React 的跨平台通用模板(移动/PC/Web) [React17、Antd、Echarts、Vite、TypeScript、EsLint+Prettier、Cordova、Electron]
The react-view-cross-platform is a universal template based on React, designed for building cross-platform projects for mobile, PC, and web. It serves as a foundation for project frameworks. The technology stack includes React 17.x, Redux Toolkit, TypeScript, Less/Scss, ECharts, Ant Design 4.x, Vite 3.x, Cordova, Electron, EsLint, Prettier, Husky, and vConsole for mobile development.
To use this template, follow the steps below:
git clone [repository-url]
cd react-view-cross-platform
npm install
npm run dev
npm run dev:app
npm run dev:exe
npm run server
npm run server:app
npm run server:exe
npm run build
npm run build:app
npm run build:exe
npm run lint
npm run install:electron-icon
To report issues or contribute by submitting a pull request, contact hxbpandaoh@163.com.
For the author’s blog and preview of a small demo, visit the blog of Leo He.
Note: The author emphasizes the importance of documentation in the software development process.
The react-view-cross-platform is a versatile React-based template that allows for the development of cross-platform projects. It offers a comprehensive technology stack and comes with a rich set of features, including a wide range of libraries and tools. The installation process is straightforward, and the template provides commands for development, preview, and building of the application. It also includes resources for documentation, issue reporting, and contribution.