diff --git a/docs/zh/maven.md b/docs/zh/maven.md new file mode 100644 index 00000000..265dca3b --- /dev/null +++ b/docs/zh/maven.md @@ -0,0 +1,34 @@ +# Maven 安装 + +> 以下的 xml maven 依赖示例中,可能并非最新的 Mybatis-Flex 版本,请自行查看最新版本,并修改版本号。 + + +1、只用到了 Mybatis,没用到 Spring 等框架的场景: + +```xml + + com.mybatis-flex + mybatis-flex-core + 1.0.0-beta.1 + +``` + +2、用到了 Spring 的场景 + +```xml + + com.mybatis-flex + mybatis-flex-spring + 1.0.0-beta.1 + +`````` + +2、用到了 Spring Boot 的场景 + +```xml + + com.mybatis-flex + mybatis-flex-spring-boot-starter + 1.0.0-beta.1 + +``` \ No newline at end of file diff --git a/readme_zh.md b/readme_zh.md index 87ecf7fa..87b0f539 100644 --- a/readme_zh.md +++ b/readme_zh.md @@ -11,6 +11,12 @@ - 6、极其友好的 SQL 联动查询,IDE 自动提示不再担心出错 - 7、更多小惊喜 +## 开始 + +- [Maven 依赖](./docs/zh/maven.md) +- [示例项目](./mybatis-flex-test) + + ## QQ 群 群号: 532992631 @@ -424,8 +430,8 @@ public class Account { ## 更多示例 -- 1、[Mybatis-Flex 原生(无其他依赖)](./mybatis-flex-test/mybatis-flex-native-test) -- 2、[Mybatis-Flex with Spring](./mybatis-flex-test/mybatis-flex-spring-test) -- 3、[Mybatis-Flex with Spring boot](./mybatis-flex-test/mybatis-flex-spring-boot-test) +- 示例 1:[Mybatis-Flex 原生(非 Spring)](./mybatis-flex-test/mybatis-flex-native-test) +- 示例 2:[Mybatis-Flex with Spring](./mybatis-flex-test/mybatis-flex-spring-test) +- 示例 3:[Mybatis-Flex with Spring boot](./mybatis-flex-test/mybatis-flex-spring-boot-test)