An open API service indexing awesome lists of open source software.

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

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