https://github.com/simoon-f/react-admin-boilerplate
React admin boilerplate
https://github.com/simoon-f/react-admin-boilerplate
Last synced: about 1 year ago
JSON representation
React admin boilerplate
- Host: GitHub
- URL: https://github.com/simoon-f/react-admin-boilerplate
- Owner: Simoon-F
- Created: 2023-07-03T02:22:10.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-03T12:00:25.000Z (almost 3 years ago)
- Last Synced: 2025-02-03T11:51:00.824Z (over 1 year ago)
- Language: TypeScript
- Size: 53.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Vite Recoil Boilerplate
## 技术栈
- [Vite](https://vitejs.dev)
- [React](https://reactjs.org)
- [TypeScript](https://www.typescriptlang.org)
- [ReactRouter](https://reactrouter.com/docs/en/v6)
## 快速开始
Install project dependencies
```
pnpm install
```
Launch the app, it will become available at [http://localhost:3000](http://localhost:3000/)
```
pnpm dev
```
## 项目规范
- xxx
- xxx
- xxx
## 目录结构
`├──`[`.vscode`](.vscode) — VSCode settings including code snippets, recommended extensions etc
`├──`[`public`](./public) — Static assets such as robots.txt, index.html etc
`├──`[`src/assets`](./src/assets) — Static assets
`├──`[`src/components`](./src/components) — React public components
`├──`[`src/hooks`](./src/hooks) — React public hooks
`├──`[`src/models`](./src/models) — Status management file
`├──`[`src/pages`](./src/pages) — Application and page (screen) components
`├──`[`src/routes`](./src/routes) — Application routes components
`├──`[`src/theme`](./src/services) — External connection service
`├──`[`src/utils`](./src/utils) — Utility functions
## 安装以下 vscode 插件方便开发
Tailwind CSS IntelliSense
> https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss
Prettier - Code formatter
> https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode&ssr=false#overview
EditorConfig for VS Code
> https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
## 编码约定
> https://github.com/sj-distributor/react-coding-conventions