上一页 1 2 3 4 5 6 7 ··· 31 下一页
摘要: NETCORE - 大数据操作 Dapper 临时表 环境 net8 ,mysql ,dapper public class TtFlowTrainsService : ITtFlowTrainsRepository { public readonly IDbConnection DapperCon 阅读全文
posted @ 2025-04-22 17:12 无心々菜 阅读(45) 评论(0) 推荐(0)
摘要: 外网安装包同步到内网 npm 包 1. 外网安装 npm config get cache npm cache clean --force # 清理旧缓存(可选) npm install -g transit-map # 正常安装,确保缓存最新npm pack transit-map # 生成离线包 阅读全文
posted @ 2025-04-10 14:26 无心々菜 阅读(71) 评论(0) 推荐(0)
摘要: NETCORE - 单元测试 一. 创建类库 创建两个类文件 类1:CBook using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.T 阅读全文
posted @ 2025-03-10 09:25 无心々菜 阅读(36) 评论(0) 推荐(0)
摘要: 1. gitee的使用 打开网页,注册用户,登录后,创建仓库 https://gitee.com/ 点击+号创建仓库,创建名称自已定义。 创建后的页面: 2. git 安装 https://www.jianshu.com/p/414ccd423efc 3. git 拉取仓库 在一个文件夹中右键,打开 阅读全文
posted @ 2025-02-17 11:07 无心々菜 阅读(13) 评论(0) 推荐(0)
摘要: React 项目创建 1. 创建react 项目: npx create-react-app antd-demo-ts --template typescript end 阅读全文
posted @ 2025-02-12 11:00 无心々菜 阅读(6) 评论(0) 推荐(0)
摘要: vue - vue3 使用 eslint 环境 vite,vue3 1. 初始化项目 如果你还没有创建 Vite 项目,可以使用以下命令来创建一个: npm create vite@latest my-vue-app -- --template vue cd my-vue-app npm insta 阅读全文
posted @ 2025-02-12 10:53 无心々菜 阅读(738) 评论(0) 推荐(0)
摘要: VUE - vue3 自定义指令 <div v-if="visCardRef" v-click-outside="hideDiv" style="border: 1px solid red;background-color: gray;width: 200px;height: 200px;"> </ 阅读全文
posted @ 2025-01-21 09:46 无心々菜 阅读(57) 评论(0) 推荐(0)
摘要: VUE - VUE3使用tsx Vue 官方提供了一个插件 @vitejs/plugin-vue-jsx 来支持 JSX 语法。以下是使用该插件的具体步骤: 安装插件: 使用 npm 或 yarn 安装 @vitejs/plugin-vue-jsx。 npm install @vitejs/plug 阅读全文
posted @ 2025-01-07 15:31 无心々菜 阅读(205) 评论(0) 推荐(0)
摘要: NETCORE - Consul 注册 新 一. Consul服务端部署 参考:Docker - 部署Consul 新 - 无心々菜 - 博客园 二. 在.net8中注入Consul服务 安装Nuget包 增加服务配置,appsettings.json 由于我使用的是docker发布服务,所以都使用 阅读全文
posted @ 2024-11-29 15:50 无心々菜 阅读(17) 评论(0) 推荐(0)
摘要: npm包 - 发布vue组件 与 类、方法 环境:vue2 ,参考:https://www.cnblogs.com/1285026182YUAN/p/18196678 1. 搭建 vue 项目 创建组件 components / uncc.vue <template> <div> </div> </ 阅读全文
posted @ 2024-11-06 20:17 无心々菜 阅读(19) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 31 下一页