mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-08 11:34:18 +08:00
docs: update guide
This commit is contained in:
@@ -135,6 +135,39 @@ kotlin {
|
|||||||
|
|
||||||
请将 `<version>` 修改为此页面顶部显示的版本。
|
请将 `<version>` 修改为此页面顶部显示的版本。
|
||||||
|
|
||||||
|
## Dev 版本
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
Flexi UI 每个版本都有对应的 Dev 版本 (开发中的版本),它的更新频率将会非常高,这里的文档**可能不会及时**根据最新的 Dev 版本进行同步。
|
||||||
|
|
||||||
|
Dev 版本仅会发布在我们的公共存储库中,不会同步至 **Maven Central**,如果你要使用 Dev 版本,请参考以下方式配置存储库。
|
||||||
|
|
||||||
|
### SweetDependency (推荐)
|
||||||
|
|
||||||
|
在你的项目 `SweetDependency` 配置文件中添加存储库。
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
repositories:
|
||||||
|
# 详情请前往:https://github.com/HighCapable/maven-repository
|
||||||
|
highcapable-maven-snapshots:
|
||||||
|
# 中国大陆用户请将下方的 "raw.githubusercontent.com" 修改为 "raw.gitmirror.com"
|
||||||
|
url: https://raw.githubusercontent.com/HighCapable/maven-repository/main/repository/snapshots
|
||||||
|
```
|
||||||
|
|
||||||
|
### 传统方式
|
||||||
|
|
||||||
|
在你的项目 `build.gradle.kts` 中配置存储库。
|
||||||
|
|
||||||
|
```kotlin
|
||||||
|
repositories {
|
||||||
|
// 详情请前往:https://github.com/HighCapable/maven-repository
|
||||||
|
// 中国大陆用户请将下方的 "raw.githubusercontent.com" 修改为 "raw.gitmirror.com"
|
||||||
|
maven("https://raw.githubusercontent.com/HighCapable/maven-repository/main/repository/snapshots")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
||||||
你可以在 [这里](https://github.com/BetterAndroid/FlexiUI/tree/compose/samples) 找到一些示例,通过查看对应的演示项目来更好地了解 Flexi UI 的使用方式。
|
你可以在 [这里](https://github.com/BetterAndroid/FlexiUI/tree/compose/samples) 找到一些示例,通过查看对应的演示项目来更好地了解 Flexi UI 的使用方式。
|
||||||
|
@@ -138,6 +138,40 @@ kotlin {
|
|||||||
|
|
||||||
Please change `<version>` to the version displayed at the top of page.
|
Please change `<version>` to the version displayed at the top of page.
|
||||||
|
|
||||||
|
## Dev Version
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
Each version of Flexi UI has a corresponding dev version (version under development), and its update frequency will be very high.
|
||||||
|
|
||||||
|
The documents here may not be synchronized in time according to the latest dev version.
|
||||||
|
|
||||||
|
The dev version will only be published in our public repository and will not be synchronized to **Maven Central**,
|
||||||
|
if you want to use the dev version, please refer to the following method to configure the repository.
|
||||||
|
|
||||||
|
### SweetDependency (Recommended)
|
||||||
|
|
||||||
|
Add the repository in your project's `SweetDependency` configuration file.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
repositories:
|
||||||
|
# For details, please go to: https://github.com/HighCapable/maven-repository
|
||||||
|
highcapable-maven-snapshots:
|
||||||
|
url: https://raw.githubusercontent.com/HighCapable/maven-repository/main/repository/snapshots
|
||||||
|
```
|
||||||
|
|
||||||
|
### Traditional Method
|
||||||
|
|
||||||
|
Configure the repository in your project `build.gradle.kts`.
|
||||||
|
|
||||||
|
```kotlin
|
||||||
|
repositories {
|
||||||
|
// For details, please go to: https://github.com/HighCapable/maven-repository
|
||||||
|
maven("https://raw.githubusercontent.com/HighCapable/maven-repository/main/repository/snapshots")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
||||||
You can find some samples [here](https://github.com/BetterAndroid/FlexiUI/tree/compose/samples) to get a better understanding of how
|
You can find some samples [here](https://github.com/BetterAndroid/FlexiUI/tree/compose/samples) to get a better understanding of how
|
||||||
|
Reference in New Issue
Block a user