上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 55 下一页
摘要: VueX入门 VueX是什么? Vuex 是用于集中管理组件之间数据的一个组件,通过Vue可以完成父子、子父、兄弟等任何复杂关系的组件之间数据传递问题。 VueX可以集中管理共享数据,易于开发和后期维护。 能够高效的实现组件之间的数据共享,提高开发效率 存储在VueX中的数据都是响应式的,能够时时保 阅读全文
posted @ 2020-08-14 13:39 张瑞丰 阅读(78) 评论(0) 推荐(0) 编辑
摘要: GateWay的简单使用 一、引入pom <!-- 网关 --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-gateway</artifactId> </dep 阅读全文
posted @ 2020-08-13 18:40 张瑞丰 阅读(375) 评论(0) 推荐(0) 编辑
摘要: SpringCloud项目注册到Nacos 一、添加依赖 <!-- 服务注册/发现--> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-discover 阅读全文
posted @ 2020-08-12 18:35 张瑞丰 阅读(741) 评论(0) 推荐(0) 编辑
摘要: Hystrix整合Gateway 一、引入依赖 核心依赖: <!-- 整合hystrix --> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hy 阅读全文
posted @ 2020-08-11 18:32 张瑞丰 阅读(1680) 评论(0) 推荐(0) 编辑
摘要: Nginx配置socket.io集群 最近项目中使用到了socket.io,为了保证系统的稳定性,需要进行集群。使用了nginx完成负载和反向代理。具体配置如下: worker_processes 1; events { worker_connections 1024; } http { inclu 阅读全文
posted @ 2020-08-10 14:23 张瑞丰 阅读(1222) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 55 下一页