# flutterDemo **Repository Path**: wutongyuqq/flutter-demo ## Basic Information - **Project Name**: flutterDemo - **Description**: flutter项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-29 - **Last Updated**: 2022-04-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 命令行启动说明 1. 初始化项目 1. ```shell dart pub global activate melos ``` 2. 确认moles命令有效 ```shell melos -v ``` 1. 若无法运行需添加环境变量 ```text unix* export PATH=$HOME/.pub-cache/bin Windows* %LOCALAPPDATA%\Pub\Cache\bin ``` 3. 在IDE的terminal中初始化项目melos > melos 会自动配置ide的debugger ```shell melos bs ``` ### 文档结构说明 |-- packages ==> 通用包 |-- common |-- api |-- dto ==> 请求query/body dto |-- entities ==> 服务端返回entities |-- env ==> base env |-- fetch ==> dio |-- i18n |-- interfaces |-- router |-- storage ==> sp and hive |-- utils common.dart ==> 引入这个就可以了 |-- sites |-- e01 & etc... ### 模版命名规范