https://github.com/swiftdo/admin-team-boke
team-boke 后台管理
https://github.com/swiftdo/admin-team-boke
Last synced: 12 months ago
JSON representation
team-boke 后台管理
- Host: GitHub
- URL: https://github.com/swiftdo/admin-team-boke
- Owner: swiftdo
- Created: 2021-12-22T08:06:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-02T04:07:34.000Z (over 4 years ago)
- Last Synced: 2025-01-14T05:45:23.183Z (over 1 year ago)
- Language: Dart
- Homepage: http://admin-team-boke.oldbird.run
- Size: 9.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 项目规划
| 项目 | 源码 |
| ------------------ | ------------------------------------------------------------------------------------------------ |
| web 网站 | [https://github.com/swiftdo/web-team-boke.git](https://github.com/swiftdo/web-team-boke.git) |
| App(iOS\Android) | [https://github.com/swiftdo/app-team-boke.git](https://github.com/swiftdo/app-team-boke.git) |
| 后端 API | [https://github.com/swiftdo/team-boke.git](https://github.com/swiftdo/team-boke.git) |
| 后台管理 | [https://github.com/swiftdo/admin-team-boke.git](https://github.com/swiftdo/admin-team-boke.git) |
## 通过 freezed & json_serializable 生成模型
需要安装插件 `freezed`.
```shell
fvm flutter packages pub run build_runner build --delete-conflicting-outputs
# or
fvm flutter packages pub run build_runner watch --delete-conflicting-outputs
```
可参考文章 [https://wingpage.net/content/Flutter/Flutter%20freeze.html](https://wingpage.net/content/Flutter/Flutter%20freeze.html)
## 国际化Intl方案
> 大陆的简体zh_CN,港台的繁体zh_HK和zh_TW
使用方式,可直接参考 [https://juejin.cn/post/6844903823119482888](https://juejin.cn/post/6844903823119482888)
## auto_route 的使用
```shell
fvm flutter packages pub run build_runner watch
fvm flutter packages pub run build_runner build
```
## flutter_gen 的使用
安装使用
```shell
dart pub global activate flutter_gen
```
添加依赖参考文档。
配置:
```shell
fluttergen -c pubspec.yaml
```
资源生成
```shell
fvm flutter packages pub run build_runner build
```