https://github.com/postor/ts-react-router-tailwind-admin
https://github.com/postor/ts-react-router-tailwind-admin
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/postor/ts-react-router-tailwind-admin
- Owner: postor
- License: mit
- Created: 2023-08-12T03:28:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-12T03:28:39.000Z (almost 2 years ago)
- Last Synced: 2025-01-25T18:09:51.440Z (4 months ago)
- Language: TypeScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ts-react-router
fullstack bolierplate with shack.js | 基于 shack.js 的全栈模板## structure | 文件结构
```
+-- apis # each exported function in this folder is a backend api | 此文件夹下导出的函数都被用作后台接口
+-- web # front end codes | 前端代码
| +-- index.tsx # entry | 前端代码入口
| +-- index.html # htnl template| 前端代 html 模板
+-- dist # compiled codes for production usage | 编译后用于产线的代码
```## usage | 使用
dev(hot-reload for frontend only) | 开发(热加载仅限前端代码)
```
npm run dev
```production | 产线
```
npm run build
npm run start
```docker-compose
```
docker-compose up
```