# spring-boot-library **Repository Path**: kang8/spring-boot-library ## Basic Information - **Project Name**: spring-boot-library - **Description**: 直接使用 spring boot 库的记录,以便下次查阅。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-15 - **Last Updated**: 2021-07-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 快速上手一个 Spring Boot 库 ## 基本包 * starter-web, Web 的基本功能 * starter-thymeleaf, 前端模板,结合 web 包使用 * starter-test, 测试包,便于测试 * commons-lang3, 工具包,提高开发的便利性 * lombok, 工具包,getting setting and so on * devtools, 工具包,开发者插件 ## 如何使用 本项目使用分支的形式,来管理不同的库,如何你想快速了解一个库,直接去到该库的分支即可。 ### devtools 在 IDEA 中如何配置 1. 引入包: ```xml org.springframework.boot spring-boot-devtools true ``` > 这里设置 optional 为 true 的意思是,只有当前项目会引用 devtools。当前其他项目把当前项目作为子项目引用时,不会加载 devtools 包 2. 设置 IDEA 自动编译配置: Settings --> Compiler --> Build Project automatically 勾选。 ![automatically](https://segmentfault.com/img/bV8WVK?w=1431&h=853) 使用快捷键 `ctrl + shift + alt + /` 打开配置然后勾选 Registry --> Compiler autoMake allow when app running ![maintenance](https://segmentfault.com/img/bV8WWk?w=460&h=155) ![automake_app_running](https://segmentfault.com/img/bV8WXr?w=1028&h=814)