JAVA学习笔记
未读引入依赖MybatisPlus提供了starter,实现了自动Mybatis以及MybatisPlus的自动装配功能,坐标如下:
12345<dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.5.7</version></dependency>
配置在 application.yml 配置文件中添加数据库的相关配置,如:
12345678910# DataSource Configspring: datasource: driver-class-name: org.h2.Driver username: root password: test sql: init: schema-locations: classpath:db/schema-h2.sql data- ...
博客折腾手册
未读网站使用的是 安知鱼主题 ,可点击达官方文档查看具体教程。
搭建Hexo博客如果你还没有 Hexo 博客,请按照 Hexo 官方文档 进行安装、建站。
主题安装在 官方文档 中有三种安装的方式,这里使用的是npm安装。使用命令:
1npm i hexo-theme-anzhiyu
注意:此方法只支持 Hexo 5.0.0 以上版本 通过 npm 安装并不会在 themes 里生成主题文件夹,而是在 node_modules 里生成。
应用主题在安装完主题后,打开 Hexo 根目录下的 _config.yml 文件,找到以下配置项,把主题改为anzhiyu,效果如下:
1234# Extensions## Plugins: https://hexo.io/plugins/## Themes: https://hexo.io/themes/theme: anzhiyu
接下来执行以下命令安装 pug 和 stylus 渲染插件。
1npm install hexo-renderer-pug hexo-renderer-stylus --save
到这就完成了大部分了。
由于我 ...


