spring boot
???zks2725
这个作者很懒,什么都没留下…
展开
-
thymeleaf页面实时刷新(springboot学习篇)
1) 在application.properties中设置thymeleaf 模板引擎的缓存为false,默认为true开启的 spring thymelefa.cache=false2)在编辑入口类On uodate action On feame deactivtion 全部选择 "update resources"原创 2021-02-09 09:19:55 · 1492 阅读 · 0 评论 -
vue项目搭建
##Vue项目搭建####1.安装Node.js2.安装模块npm install 模块名 (npm比较慢,可用淘宝的cnpm替换npm)npm install -g -cnpm --registry=https://registry.npm.taoao.org3.安装Vue脚手架cnpm install -g @vue/cli如果出问题执行如下,并重走一遍npm cache clean --force4.打开Vue视图管理Vue ui //打开Vue视图管理 或者原创 2021-02-05 17:05:44 · 105 阅读 · 0 评论 -
springBoot自动集成mybatis-Generator(springboot学习篇)
1.pom.xml中添加依赖<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> <!--添加mybatis generator maven插件--原创 2021-02-05 16:59:31 · 95 阅读 · 0 评论 -
Page分页用法
###Controller创建变量表示共多少页@RequestParam(defaultValue = "1",required = true)Integer page//使用pageHelper实现分页(pageNum表示当前是第几页,pageSize表示每页显示多少行)PageHelper.startPage(page,5);//模糊查询List<News> likeall =newsService.selectLikeAll(meag,name);//将查询到的值导入到pa原创 2021-02-05 16:58:43 · 2861 阅读 · 0 评论