会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
fight139
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
9
···
29
下一页
2023年2月26日
webstorm配置
摘要: 链式编程缩进 @components tsconfig.json "paths": { "@/*": ["src/*"], "@/components/*": ["./src/components/*"], "@/assets/*": ["./src/assets/*"] },
阅读全文
posted @ 2023-02-26 12:23 fight139
阅读(19)
评论(0)
推荐(0)
2023年2月24日
svg symbol模板
摘要: ### svg symbol ```html ``` 使用`symbol`注册svg的优点: - 复用 - 拓展性高:支持宽度、高度、颜色等属性修改 ### 使用场景 从后端或某个目录下获取svg字符串,然后注册到body后,供当前页面使用
阅读全文
posted @ 2023-02-24 17:54 fight139
阅读(38)
评论(0)
推荐(0)
2023年1月11日
pnpm使用
摘要: github测试项目 --filter pnpm --filter @lc/lowcode-core run dev 模块间依赖 如:给目标@lc/lowcode-core安装依赖:@lc/utils pnpm i @lc/utils -r --filter @lc/lowcode-core 注意:
阅读全文
posted @ 2023-01-11 15:56 fight139
阅读(84)
评论(0)
推荐(0)
2023年1月10日
lerna
摘要: lerna初始化项目 # 创建项目 mkdir lerna-demo cd lerna-demo # 初始化项目 lerna init -i 项目结构: lerna.json { "packages": [ "packages/*" ], "version": "independent", "npm
阅读全文
posted @ 2023-01-10 15:07 fight139
阅读(85)
评论(0)
推荐(0)
2023年1月4日
自定义事件
摘要: 自定义dom事件 dom自定义事件 // 事件监听 document.addEventListener('drag:start', function(ev) { console.log(ev.target) }) // 触发事件 const dom = document.getElementById
阅读全文
posted @ 2023-01-04 16:14 fight139
阅读(26)
评论(0)
推荐(0)
2022年12月15日
vite plugin
摘要: // 自定义插件 ./plugins/fullImportPlugin import * as path from 'path' import type { Plugin, ResolvedConfig } from 'vite' export default function fullImport
阅读全文
posted @ 2022-12-15 16:21 fight139
阅读(56)
评论(0)
推荐(0)
2022年11月15日
node package详解
摘要: 描述配置 name 项目名称,项目在唯一坐标,其他项目可以通过项目名称+版本号安装我们的项目 "name": "react" version 版本号 1. 代表主版本号 Major,通常在涉及重大功能更新,产生了破坏性变更时会更新此版本号 2. 代表次版本号 Minor,在引入了新功能,但未产生破坏
阅读全文
posted @ 2022-11-15 18:10 fight139
阅读(152)
评论(0)
推荐(0)
2022年11月12日
常用属性
摘要: clip 指定元素的“裁剪区域”,只显示元素在区域内的部分 clip: rect(0, 100,100,0) z-index z-index只对兄弟节点有效 z-index对static定位无效,因为static不会产生重叠,因此static定位的元素的z-index总是0. 盒模型 块级元素的宽度
阅读全文
posted @ 2022-11-12 15:37 fight139
阅读(17)
评论(0)
推荐(0)
2022年11月11日
typescript装饰器
摘要: 属性装饰器 参数 export default function (proto, key) { // 两个参数 } 给属性增加metadata import 'reflect-metadata'; export default function (label, type?) { // 在装饰器内,增
阅读全文
posted @ 2022-11-11 18:41 fight139
阅读(48)
评论(0)
推荐(0)
2022年11月9日
css布局
摘要: ### 圣杯布局 圣杯布局:左右两边固定,中间自适应的布局方式,效果图如下:  (1)采用绝对定位方式实
阅读全文
posted @ 2022-11-09 12:13 fight139
阅读(25)
评论(0)
推荐(0)
2022年10月31日
mybatis plus常见配置
摘要: 枚举 mybatis-plus: type-enums-package: com.system.*.api.enums
阅读全文
posted @ 2022-10-31 13:29 fight139
阅读(42)
评论(0)
推荐(0)
2022年10月26日
vue3模板编译
摘要: withKeys withModifiers 触发render机制 @keyup.enter vue <div @keyup.enter>Hello World</div> js import { withKeys as _withKeys, openBlock as _openBlock, cre
阅读全文
posted @ 2022-10-26 08:47 fight139
阅读(118)
评论(0)
推荐(0)
2022年8月28日
vue router
摘要: 使用vite创建项目 npm init vite vscode配置 jsconfig.json { "include": [ "./src/**/*" ], "compilerOptions": { "baseUrl": ".", "paths": { "@/*": ["./src/*"] } }
阅读全文
posted @ 2022-08-28 21:25 fight139
阅读(23)
评论(0)
推荐(0)
2022年8月25日
x-spread-sheet
摘要: 文档 https://hondrytravis.com/x-spreadsheet-doc/guide/#%E7%BB%91%E5%AE%9A%E4%BA%8B%E4%BB%B6
阅读全文
posted @ 2022-08-25 11:48 fight139
阅读(124)
评论(0)
推荐(0)
sheetjs style
摘要: sheetjs导出excel,设置样式 https://github.com/gitbrent/xlsx-js-style 导入 <script src="./xlsx.bundle.js"></script> demo function download() { const wb = XLSX.u
阅读全文
posted @ 2022-08-25 10:59 fight139
阅读(505)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
29
下一页