摘要: 一、下载 进入Nginx官网下载 下载WinSW-x64.exe 二、解压nginx至合适目录,重命名WinSW-x64.exe为nginx-service.exe 三、创建配置文件 nginx-service.exe.config <configuration> <startup> <suppor 阅读全文
posted @ 2025-10-29 16:04 派大星在干嘛 阅读(14) 评论(0) 推荐(0)
摘要: 1、安装依赖 npm i vue-router 2、创建配置文件 index.js import {createRouter, createWebHistory} from 'vue-router' const router = createRouter({ history: createWebHi 阅读全文
posted @ 2025-09-29 09:50 派大星在干嘛 阅读(8) 评论(0) 推荐(0)
摘要: 一、引入相关依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-loadbalancer</artifactId> </dependency> <dependency> <grou 阅读全文
posted @ 2025-09-16 19:42 派大星在干嘛 阅读(5) 评论(0) 推荐(0)
摘要: 一、前提条件 你已经安装好Nacos客户端 二、添加对于的依赖到pom文件 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </depe 阅读全文
posted @ 2025-09-14 14:39 派大星在干嘛 阅读(8) 评论(0) 推荐(0)
摘要: 一、什么是Springcloud Alibaba 它是微服务概念的一种实现,解决了如下问题 N个服务,如何管理?(服务治理 注册中心【服务的注册、发现、删除】)nacos N个服务,如何通信?feign N个服务,客户端如何访问?gateway N个服务,一旦出现问题了,怎么处理?(容错)senti 阅读全文
posted @ 2025-09-14 09:53 派大星在干嘛 阅读(19) 评论(0) 推荐(0)
摘要: 一、什么是微服务 微服务是一种架构风格,代表一种通过将应用程序拆分为一个个小型的、独立的功能模块(服务)的开发方式。 每个模块(服务)实现独立的业务功能(不限制开发语言),服务之间通过轻量化的通信机制(HTTP、REST、消息队列)进行交互 微服务架构的核心思想是解耦应用程序,提高灵活性和维护性 二 阅读全文
posted @ 2025-09-13 10:45 派大星在干嘛 阅读(7) 评论(0) 推荐(0)
摘要: 1、什么是nvm NVM 是一个Node.js版本管理工具,可以让我们轻松地在不同的Node.js版本之间切换。它可以在全局和本地范围内安装多个版本的Node.js,并可以在它们之间切换。此外,NVM 还可以让我们安装和使用不同的npm版本。 2、安装nvm 我们可以从nvm的GitHub页面上下载 阅读全文
posted @ 2025-09-09 09:08 派大星在干嘛 阅读(17) 评论(0) 推荐(0)
摘要: 1、标题 使用‘#’来标记标题的级别 # 一级标题 ## 二级标题 #### 三级标题 2、粗体与斜体 **粗体** *斜体* 3、网址链接与图片链接 [网址名称](网址链接) ![图片名称](图片链接) 4、列表 * 无序 * 列表 1. 有序 2. 列表 5、引用 > 引用内容 6、列表 | 列 阅读全文
posted @ 2025-09-08 09:19 派大星在干嘛 阅读(5) 评论(0) 推荐(0)
摘要: 1、代码简介 这是一个具有炫酷特效的html登录页面 2、代码实现 <template> <div class="login"> <div class="container" ref="container" id="container"> <div class="form-container sin 阅读全文
posted @ 2025-09-07 20:34 派大星在干嘛 阅读(11) 评论(0) 推荐(0)
摘要: 1、安装洛雪软件 通过网盘分享的文件:lx-music-desktop-v2.11.0-win7_x64-Setup.exe 链接: https://pan.baidu.com/s/1iBUVXFNjRWr3MOQQBjSalQ?pwd=ndmb 提取码: ndmb 2、导入第三方源 打开软件,从基 阅读全文
posted @ 2025-09-06 19:55 派大星在干嘛 阅读(394) 评论(0) 推荐(0)
摘要: 1、进入官网,下载所需要的文件 2、解压文件夹,将所有文件放入指定目录,并在main.js文件中引入 3、在组件中使用 <div class="icon"> <el-icon size="20"> <i class="iconfont icon-en"/> </el-icon> </div> 阅读全文
posted @ 2025-08-18 10:43 派大星在干嘛 阅读(7) 评论(0) 推荐(0)
摘要: 1、设计代码 private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceMana 阅读全文
posted @ 2025-08-18 00:10 派大星在干嘛 阅读(9) 评论(0) 推荐(0)
摘要: 1、vue中安装 npm i md-editor-v3 2、写一套组件 <script setup> import {MdEditor, NormalToolbar, ModalToolbar} from "md-editor-v3"; import 'md-editor-v3/lib/style. 阅读全文
posted @ 2025-08-17 23:49 派大星在干嘛 阅读(18) 评论(0) 推荐(0)
摘要: 1、lazy-img.js export const lazyLoad = { mounted(el, binding) { const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if 阅读全文
posted @ 2025-08-17 23:30 派大星在干嘛 阅读(10) 评论(0) 推荐(0)
摘要: 1、通过break或者continue跳出循环 fun main() { val arrayOf = arrayOf(4, 2, 3, 4, 5) for (item in arrayOf) { if (item == 3) { // 或使用break跳出循环 continue } println( 阅读全文
posted @ 2025-07-03 02:02 派大星在干嘛 阅读(7) 评论(0) 推荐(0)
摘要: fun main() { val list = (1..<10).toList() for (item in list) { println(item) } list.forEach { item-> println(item) } list.forEachIndexed{ index,item - 阅读全文
posted @ 2025-06-20 01:40 派大星在干嘛 阅读(7) 评论(0) 推荐(0)
摘要: if判断 var num = 1 var res = if (num == 1) { 2 } else { 1 } println(res) when var num = 1 var res = when (num) { in 1..10, is Int -> { println("num is i 阅读全文
posted @ 2025-06-19 01:33 派大星在干嘛 阅读(9) 评论(0) 推荐(0)
摘要: 一、整数、浮点数、布尔、字符 fun main() { // 常量 val num = 1 // 变量 var age = 10 age++ // 数据相加 age.plus(12) // 数据转换 age.toLong() // 数据比较 age.compareTo(12) } 二、String与 阅读全文
posted @ 2025-06-16 23:20 派大星在干嘛 阅读(10) 评论(0) 推荐(0)
摘要: 1、主要实现代码 // 切换主题 const toggleTheme = () => { isDark.value = !isDark.value; localStorage.setItem('isDark', isDark.value); // 获取过渡动画起始坐标 const clientX = 阅读全文
posted @ 2025-03-20 05:26 派大星在干嘛 阅读(53) 评论(0) 推荐(0)
摘要: 1、定义两套主题样式 :root{ --theme-bg-color: #ffffff; --theme-text-color: #000000; } :root.dark{ --theme-bg-color: #121212; --theme-text-color: #ffffff; } 2、给挂 阅读全文
posted @ 2025-03-20 04:58 派大星在干嘛 阅读(58) 评论(0) 推荐(0)
摘要: 官网地址 boxicons 引入css <link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'> 使用 <i class='bx bx-sushi'></i> 阅读全文
posted @ 2025-03-19 15:37 派大星在干嘛 阅读(63) 评论(0) 推荐(0)
摘要: import {defineConfig} from 'vite' import vue from '@vitejs/plugin-vue' import path from 'path' // https://vite.dev/config/ export default defineConfig 阅读全文
posted @ 2025-03-18 22:59 派大星在干嘛 阅读(14) 评论(0) 推荐(0)
摘要: 本教程使用于JetBrains的2021.2.4版本 1、下载补丁 链接:https://pan.baidu.com/s/1352DK95Ay2tyE5n7fM7hlA?pwd=obf8 提取码:obf8 2、执行脚本 如果是Mac系统,应该在scripts目录的终端运行如下命令 3、官网下载202 阅读全文
posted @ 2022-07-05 23:13 派大星在干嘛 阅读(174) 评论(0) 推荐(0)